Live data from Hacker News

Linus Torvalds on Why ARM Won't Win the Server Space

realworldtech.com

281–290 of 545 posts

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#282
post #233
post #33

It's of course impossible not to respect Linus' opinion and first hand experience in this space, but doesn't this whole post completely ignore the 100 ton blue whale in the room? Namely smartphones . That's an entire enormous segment of the industry and it's nearly 100% (or entirely 100%?) literally develop-on-x86-deploy-on-ARM. Smartphones also fit > "This isn't rocket science. This isn't some made up story. This is…

He's also apparently assuming that ARM-based Chromebooks will never be a useful developer environment. I wouldn't take that bet -- a lot of the newer ones will support Linux VMs out of the box well enough to support at least a half-decent development environment (via Crostini). (You can get a Pixelbook with 8GB RAM and a 512GB SSD, if you're wondering about storage space. And while Crostini still has issues with in-V…

I don't think he's assuming any such thing. His argument is simply that ARM can't win until it has a reasonable dev box. He makes no speculation about if/when such a box is coming.

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#283
ARM is pretty much universally used on mobile these days and also in a fair bit of low end windows and chromebook laptops. With Apple being rumored to launch ARM on desktop and new OSS risc-v chipsets becoming a thing a lot of the arguments that Linus Torvalds is making ring more true looking backwards than forwards. Also WASM is becoming a thing.

I don't think it's as black and white as wanting the same CPU and OS on your deployment platform and development platform. When it comes to mobile development, having those two be completely different is the norm. It's not much of a problem in practice. The differences between different platforms with the same cpu architecture and OS from different vendors is a much bigger headache than the difference between each of those and the windows or mac + intel laptops the software is being developed on. The difference between windows and macs still causes some headaches of course but is mostly managable. If it works on Linux it generally also works on mac. And if it doesn't that's a good sign of immaturity. All I'm saying here is that most mainstream technologies work across all three of those without much headaches.

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#284

Earlier quoted context omitted.

The NetBSD people vehemently disagree. By ensuring your software works on various architectures, you expose subtle bugs in the ones you actually care about. Lots of 32-bit x86 code was improved during the migration to 64-bit, not because the move created new bugs, as because existing ones (i.e. code that relied on undefined behavior) couldn't get away with it anymore.

I wouldn't call their bugs. If the binaries worked correctly on x86 due to compiler specific guarantees then the code wasn't buggy. It just wasn't written for a generic C or C++ compiler.

Undefined behavior is not a compiler specific guarantee. UB can change based on almost random factors, especially between newer releases of the same compiler. They are bugs, they were just masked.

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#285

Modern DevOps and CICD should be able to abstract this away. Devs can develop on whatever they want and then push to ARM or x86 servers.

That's assuming you're not using any libraries that contain hand-optimized SIMD where one platform is better supported than the other.

Well, if https://github.com/xianyi/OpenBLAS is any indication, you can just recompile the library for ARM. A proper pipeline would recompile everything on the appropriate platform without any developer intervention.

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#286
In the version of history I remember, x86 won because it was 2-5 times cheaper than RISC for the same performance, then in performance per Watt once that became the limiting factor.

All devs had SPARC machines and no intention to move to x86 on the desktop, until after Intel steamrollered the performance contest.

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#287
post #33

It's of course impossible not to respect Linus' opinion and first hand experience in this space, but doesn't this whole post completely ignore the 100 ton blue whale in the room? Namely smartphones . That's an entire enormous segment of the industry and it's nearly 100% (or entirely 100%?) literally develop-on-x86-deploy-on-ARM. Smartphones also fit > "This isn't rocket science. This isn't some made up story. This is…

And, most importantly: Many server-side languages don't compile to x86 / x64! They are either interpreted, or compile to bytecode!

And speaking of x64...

> It's why x86 won. Do you really think the world has changed radically?

No, x86 is loosing to x64. And at some point another instruction set will supplant x64.

Re: Linus Torvalds on Why ARM Won't Win the Server Space

#290
This will be Linus "640kb ought to be enough for everyone", except that Gates didn't actually said that, and Linus actually wrote this.

Someone please tell him what LLVM bytecode is, probably he doesn't know because he uses GCC, Apple showed recently how that can leveredged in scale, with Apple Watch's architecture change overnight.

ARM and RISCV are here.

Post reply on HN