7 ms·
Ask HN: Will Apple M1 mean better support for Raspberry Pi?
With Firefox and chrome m1 releases do we think it will mean more updated builds for raspberry pi as well?
- BillinghamJ 6y agoHonestly, I doubt it. Just as investments into macOS support don't typically help Linux much. It'd be awesome if Apple would let Raspberry Pi use their M1 chips, but clearly that's never going to happen!
- rbanffy 6y agoI seriously doubt Apple will allow others to use their secret sauce. Still, more people using ARM software will certainly result in better tested libraries and tools. Intel got where it is now by having a machine on pretty much every developer's desk (it can be said that SPARC and MIPS got where they are now by having an x86 on every developer's desk too). When a lot of developers have ARM boxes on their desks, a lot of software will be written for ARM first and ported to x86 as an afterthought - or, more accurately as Apple's tooling goes, built for ARM and x86 but only tested on ARM.
- simonh 6y agoYou could rip an M1 chip out of a Mac, but then you have the problem that there are no publicly available device drivers for many of the peripherals integrated on to the chip, such as the proprietary Apple GPU cores, neural engine and probably also things like the thunderbolt and other interface components. Also how does the kernel manage things like the BIGLittle cpu architecture, power management systems, etc. What could be very interesting though is emulating a Pi on an M1 Mac in virtualisation.
- jwalton 6y agoI think what OP is suggesting isn't so much that Pis will use M1 chips, more that right now typically many applications are unavailable as prebuikt binaries for arm64, and maybe having more arm processors in the wild will make that situation change. I just switched to the starship shell prompt on my mac, for example, and I tried to install it on my Pi as well, but there's no prebuilt binary for Pi, and after an hour or so I gave up trying to build it myself. :P
- gjsman-1000 6y agoThis especially won't happen because from Apple's perspective, that's way too similar to a Mac mini. The Mac mini just has an aluminum enclosure, heatsink, and fan. Remove those three things, downclock the CPU (if possible), and you've got a close equivalent.
- mcphage 6y agoIt would be awesome, but one of the great things about Raspberry Pis is how inexpensive they are, and I think the M1 is probably pretty expensive—even for Apple.
- jcelerier 6y agoyou can use archlinux ARM on your Pi if your want up-to-date packages, it works fine.
- ronreiter 6y agoYes, for sure. It means that compilers will be pushed even harder to be efficient on ARM architectures.
- dingaling 6y agoThere are already nearly 5 billion ARM devices in daily use globally. An additional 20 million per year isn't significant.
- rbanffy 6y agoOf these 5 billion ARM devices in daily use, how many are desktop computers running desktop computer software?
- caskstrength 6y agoWhat does it matter? Software for majority of these devices is compiled with exactly the same two compilers as on desktop (GCC and Clang+LLVM).
- rbanffy 6y agoIt matters because their uses is different, which forces different design requirements, memory constraints, different multitasking and network environments and assumptions... Also, for a large number of these devices, they run Java-ish code on a Java-ish VM.
- rieter 6y agoVery few, however native desktop applications are becoming a rarity these days anyway. A small number of professional apps and games, but game engines are already targeting ARM due to phones.
- VBprogrammer 6y agoThat made me think of an interesting point. I wonder how much of the M1's performance comes from just being able to press the reset button on backwards compatibility? In other words, if I take a latest generation AMD processor and compile every binary for it with all of the processor specific optimisations enabled how much faster would it be.
- interactivecode 6y agoDo you think they can make a Pi Hackingtosh now?
- jeroenhd 6y agoNot any time soon. Apple Silicon implements additional instructions not found on other boards, making software compiled for it potentially (read: probably) incompatible. There's also the presence of the security chips which Apple will likely assume to be present as it's not optional on ARM boards, so you'd need to patch checks and calls to that out. Even if it does work, there'd be little use in it. Hackintoshes are popular because they offer performance beyond what you can buy for a reasonable price as a consumer. Alternative ARM devices are nowhere near as fast as M1, so that use case disappears completely. There's also the bootloader issue. On x86 and x64 the boot process has been standardized into either BIOS or UEFI mode. On ARM there are standards comparable to UEFI, but most chip vendors have their own custom bootloader code to boot an OS. Most chipsets are compatible with Android or Linux but there's only one manufacturer who develops bootloaders for the macOS platform.
- my123 6y agoIt's possible to get macOS arm64 working on Arm hardware (except Rosetta on Arm cores that don't implement TSO/SC, or you're stuck with a single core). However, Arm macOS assumes an Armv8.3-A architecture baseline. Patching at runtime from Armv8.3-A to v8.2-A is quite feasible, to 8.0-A like an RPi4 is another matter. Of course, this will apply to VMs only (for now at least). https://alephsecurity.com/2019/06/17/xnu-qemu-arm64-1/ https://alephsecurity.com/2019/06/17/xnu-qemu-arm64-1/ was a good starting point for me.
- mobilio 6y agoThat's not correct! Apple have ARM IP for instructions. So Apple Silicon is 100% ARM compatible.
- gjsman-1000 6y agoYes, but Apple has added additional instructions to it. Any app that relies on those Apple-specific additional instructions would crash running on different chips.
- deleted 6y ago[deleted]
- Noxmiles 6y agoI would like to see an M1 in a ThinkPad... But Apple with macOS only and the big obstacles against Linux will probably not help the Raspberry Pi ...
- atemerev 6y agoI think that other laptop and desktop manufactures will bring their own ARM-bases offers in a 2-3 years. Intel is not yet doomed, but this will be a harsh blow for them.
- bicolao 6y agoI doubt that. CPU design and manufacture is a huge investment. I don't think laptop/destop manufacturers are going to put their money in it. And without a performant ARM CPU supply (Apply doesn't show any sign of releasing M1 for general use), there's just no ARM-based offers.
- fsflover 6y agohttps://www.pine64.org/pinebook-pro/ https://www.pine64.org/pinebook-pro/
- bicolao 6y agoHow is Rockchip RK3399 SOC compared to x86 CPUs? I found some link, but even with this comparison to entry-level boards, it doesn't look good. https://www.cnx-software.com/2018/11/25/benchmark-x86-boards-vs-arm-sbc-rk3399-exynos/ https://www.cnx-software.com/2018/11/25/benchmark-x86-boards...
- m463 6y agoApple doesn't support open source that much - they could do SO much better. But they do support clang.
- JansjoFromIkea 6y agoHopefully, it'd be nice to have some measures to ensure extremely cheap new computers (thinking of the Pi 400) would provide everything a child might need to do their school work without having to depend on bottom of the barrel 2GB ram laptop being sold at way more than they're worth
- aitchnyu 6y agoNot a CPU geek. Would an ARM laptop beat a say, 500 or 1000 USD Intel laptop in performance and price? Can Samsung or Lenovo make a Air competitor?
- HatchedLake721 6y agoIt already does since public benchmarks released yesterday. Not only Intel laptops, but M1 with 7-8W power drain in single-threaded performance beats or just trails in some benchmarks against a desktop class $799 Ryzen 9 5950x at +49W power drain. Can they make an Air competitor? As far as I understand, not today.
- aitchnyu 6y agoShould have specified a non-Apple ARM laptop. Cant edit that mistake.
- pornel 6y agoI don't expect it to make a measurable difference. Android and iOS have already pushed ARM support and optimizations in programming languages and key libraries. For macOS, the support revolves around Xcode. Cross-compilation support is Apple-specific and won't benefit Linux. CPU architecture is abstracted away in macOS as much as possible, so average developers won't think much about ARM support. Where Apple wants developers to tune for M1 specifically, is their proprietary frameworks for ML acceleration and Metal, which don't benefit anyone but Apple. At best there may be some halo effect from proving that ARM can be as fast as "real" desktop CPUs, and it's not just the low-end slow Qualcomm chips. That might legitimize running ARM on servers, but Pi is neither high-end desktop nor a server platform.
- ogrisel 6y agoOne could expect that docker on macOS with M1 will be able to run aarch64 linux container images and therefore make it more convenient for developers to better maintain open source libraries for this platform (without suffering from long build time on an under-powered external ARM box, or the complexity to setup a cross-compilation toolchain or the slowness of a qemu layer).
- jankotek 6y agoMacOS has privacy issues. But if Linux works fine on M1... Finally great ARM based workstation.
- marcan_42 6y agoLinux will not run on the M1 until 1a) Apple decides to allow it or 1b) someone finds a boot chain exploit, and 2a) Apple releases full chip documentetion or a Linux port outright or 2b) People spend years reverse engineering it all until it works well. I don't see 2a happening, and let's hope for 1a and time.
- DCKing 6y agoApple ships a utility on Apple Silicon Macs that allows you to sign kernels yourself for booting yourself, sort of like EFI Secure Boot: https://twitter.com/never_released/status/1326315741080150016 https://twitter.com/never_released/status/132631574108015001... Surely the Linux kernel does not support these things now, but there's only baseless speculation that Apple would actively lock this down.
- emilecantin 6y agoI don't think we'll see much change in consumer apps as you still have the Mac -> Linux jump. We might see fewer ARM-related bugs, but were there many of these anyway? Where I think it's a game-changer is in Docker images. A lot of projects only build x86_64 images, M1 means they'll build ARM images as well Virtualization tools and host OSes will probably see a huge boost in ARM support as well, but the Raspberry Pi is a bit too limited to really take advantage of these improvements.
- MisterTea 6y agoLets go back to 2006 and ask this question in retrospect: Will Apples move to Intel mean better support for the PC? Answer: No.
- atemerev 6y agoSupport for what? Apple software? Definitely not. Open source software builds for ARM? Most certainly.
- MisterTea 6y ago> Open source software builds for ARM? Most certainly. What? Plenty of open source software already builds on Arm. Honestly, it feels like people here forgot that Arm is a processor architecture that has been around since 1985. Apple just happened to put one in their computer 35 years later.
- atemerev 6y agoSo far, I can’t buy any other ARM laptop (I can build a PiTop, but that’s a toy, not a modern computer suitable for work). So yes, high performance ARM laptop in the general availability _is_ a big deal.
- bArray 6y agoI agree, it's highly unlikely they would give away their competitive edge. A lot of their speed-ups may even come directly from dedicated silicon anyway, and that would likely be under lock-and-key for quite some time (until hackers of the future reverse engineer the M1).
- MisterTea 6y ago(until hackers of the future reverse engineer the M1). They wont find anything of interest. The M1 is just a well designed low power mid-performance tier chip. There's no magic when you compare a power efficient arm chip to an x86 chip in the same class. And don't forget that apple has a closed ecosystem so they can build whatever the hell they want without worrying about the technical inertia and legacy baggage the PC platform as a whole is completely built upon.
- atemerev 6y agoI believe that yes, that is true. The builds are ultimately made by developers, developers want software to run on their own machines, developers will buy M1 Macs if only for the novelty factor.
- mobilio 6y agoTL;DR - Yes, but after few years. And will be indirect. So - before M1 announce ARM market was reserved for battery devices when huge limitation is power for them. Performance was important, but most important is power consumption. There was also some niche server-side ARM like Marvell ThunderX, Qualcomm Centriq or Amazon Graviton. Actually Apple acquire P.A. Semi company in 2008 and before that they're known for PWRficient processors. Now M1 release shock whole industry. First PC manufacturers like Dell or HP - but for now they're tied with vendors as Intel and Microsoft. Second Cloud operators like Digital Ocean and Google - only Amazon have their own ARM CPU. Third OS vendors like Microsoft - they're having a Windows RT in past and need to revive it ASAP. Forth are CPU vendors like Intel, AMD that providing x86 and Broadcom, Qualcomm that are ARM - because first can seen how their x86 product line is outperform from ARM products. And other can seen how even their top ARM products are outperform from niche player as Apple. In result - expect shortly a HUGE investments in post-x86 for different chips architectures and as result RPi will be improvement. But not today! PS: Do you remember Russian CPU Elbrus? It's VLIW! https://www.youtube.com/watch?v=PUNJ_tkq2hk https://www.youtube.com/watch?v=PUNJ_tkq2hk
- wdb 6y agoI think it depends if Apple M1 and Raspberry Pi ARM are compatible. I can imagine that open-source projects will work on trying to get it going under ARM so it can be used on Apple Sillicon Macs as you can't emulate x86 on them. A side-effect of the above is that the projects will also support other ARM-based chipsets, such as Raspberry Pi's
- deleted 6y ago[deleted]
- johnklos 6y agoYes. It's just another example of why non-portable code is silly.