this post was submitted on 20 Aug 2023
152 points (93.2% liked)

Linux

48364 readers
1314 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've seen people talking about it and experienced it myself with a server, but why does Linux run so well on ARM (especially compared to Windows)?

you are viewing a single comment's thread
view the rest of the comments
[–] aport@programming.dev 42 points 1 year ago (1 children)

Linux runs well on practically every CPU architecture.

[–] xusontha@ls.buckodr.ink 9 points 1 year ago* (last edited 1 year ago) (6 children)
[–] conciselyverbose@kbin.social 35 points 1 year ago

Because it's open source and most of the applications for it are open source. That means you can compile it and the applications specifically for the hardware you have.

Windows does kind of support ARM on its specific hardware, but it can't be adjusted for other hardware and they have to translate most applications to work. Apple has done much of that work for their hardware to work well, as well as very good translation for x86, and because they leaned hard into the transition, developers were mostly forced to compile for ARM going forward. Microsoft hasn't done the same, and ARM is a tiny target, so it doesn't happen with any regularity there.

[–] bamboo@lemm.ee 20 points 1 year ago

Because people have been doing so for a long time and have ironed out most of the quirks. The software is also generally quite simple, meaning there are just fewer quirks that need to be ironed out. And the ecosystem is largely open source, meaning everything can be recompiled to target the relevant architecture, so while translation layers are still useful, they're not the essential tool they are in proprietary ecosystems. The main headaches that plague windows on arm mostly just don't exist on the Linux side.

[–] netchami@sh.itjust.works 15 points 1 year ago

Because it's not developed by some corporate fuckers whose only goal it is to make as much money as possible, it's developed by individual skilled people in their free time, because they're passionate. They don't want to sell some garbage, they genuinely want to make a good operating system for themselves and everyone else to freely use without any restrictions. FOSS is not about the money, it's about actually creating something good.

[–] gens@programming.dev 11 points 1 year ago

Because you can try compile it on arm, and if something doesn't work you can report it or fix it yourself. That said windows worked fine on arm years ago. Many gps, medical, and such devices used to use windows ce on arm, mips. (Windows phone too, arm)

[–] PuppyOSAndCoffee@lemmy.ml 8 points 1 year ago

ARM the company as well as industry partners contribute code & resources to the linux kernel...so that would be one reason why linux on ARM runs well.

Unsure how we are tracking Microsoft ARM as worse than Linux arm, what benchmarks did we see?