this post was submitted on 24 Jun 2024
166 points (97.2% liked)

Linux

47958 readers
990 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
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 59 points 4 months ago (3 children)

I'd rather see what RISC-V has to offer.

[–] [email protected] 24 points 4 months ago (1 children)

As a fellow risc-v supporter, I think the rise of arm is going to help risc-v software support and eventually adoption. They’re not compatible, but right now developers everywhere are working to ensure their applications are portable and not tied to x86. I imagine too that when it comes to emulation, emulating arm is going to be a lot easier than x86, possibly even statically recompilable.

[–] [email protected] 3 points 4 months ago (2 children)

They’re not compatible

This is what concerns me. ARM could dominate the market because almost everyone would develop apps supporting it and leave RISC-V behind. It could become like Itanium vs AMD64 all over again.

[–] [email protected] 9 points 4 months ago* (last edited 4 months ago) (2 children)

Well right now most people develop apps supporting x86 and leaves everything else behind. If they're supporting x86 + arm, maybe adding riscv as a third option would be a smaller step than adding a second architecture

[–] [email protected] 6 points 4 months ago

Exactly. Adding a third should be much simpler than a second.

[–] [email protected] 5 points 4 months ago (1 children)

It greatly depends on the applications.

Porting Windows exclusive games to Linux is a small step as well, but most developers don't do it because they cannot justify the additional QA and debugging time required to port them over. Especially since Linux's market share is small.

The reason Itanium failed was because the architecture was too different from x86 and porting x86 applications over required significant effort and was error prone.

For RISC-V to even get any serious attention from developers, I think they need to have appx 40-50% market share with OEMs alongside ARM. Otherwise, RISC-V will be seen as a niche architecture and developers would avoid porting their applications to it.

load more comments (1 replies)
[–] [email protected] 2 points 4 months ago (3 children)

That is a risk on the Windows side for sure. Also, once an ISA becomes popular ( like Apple Silicon ) it will be hard to displace.

Repurposing Linux software for RISC-V should be easy though and I would expect even proprietary software that targets Linux to support it ( if the support anything beyond x86-64 ).

Itanium was a weird architecture and you either bet on it or you did not. RISC and ARM are not so different.

The other factor is that there is a lot less assembly language being used and, if you port away from x64, you are probably going to get rid of any that remains as part of that ( making the app more portable ).

load more comments (3 replies)
load more comments (2 replies)
[–] [email protected] 54 points 4 months ago (3 children)

I feel like linux users benefit the most from arm since we can build our software natively for arm with access to the source code.

[–] [email protected] 36 points 4 months ago (3 children)
[–] [email protected] 22 points 4 months ago (1 children)

Until risc-v is at least as performant as top of the line 2 year old hardware it isn’t going to be of interest to most end users. Right now it is mostly hobbyist hardware.

I also think a lot of trust if being put into it that is going to be misplaced. Just because the ISA is open doesn’t mean anything about the developed hardware.

[–] [email protected] 8 points 4 months ago

RISC-V is currently already being used in MCUs such as the popular ESP32 line. So I'd say it's looking pretty good for RISC-V. Instruction sets don't really matter in the end though, it's just licensing for the producer to deal with. It's not like you'll be able to make a CPU or even something on the level of old 8-bit MCUs at home any time soon and RISC-V IC designs are typically proprietary too.

[–] [email protected] 2 points 4 months ago (2 children)

Same goes for RV, OpenRISC, MIPS and other architectures.

load more comments (2 replies)
[–] [email protected] 22 points 4 months ago (1 children)

It doesn’t usually work that well in practice. I have been running an M1 MBA for the last couple years (asahi Arch and now Asahi Fedora spin). More complex pieces of software typically have build system and dependencies that are not compatible or just make hunting everything down a hassle.

That said there is a ton of software that is available for arm64 on Linux so it’s really not that bad of an experience. And there are usually alternatives available for software that cannot be found.

[–] [email protected] 9 points 4 months ago (1 children)

Long time Raspberry Pi user here, the only software I can't load natively is Steam. What software are you having problem with on the M1?

[–] [email protected] 5 points 4 months ago (1 children)

Electron apps using older versions that don't support the 16k page size are probably the biggest offenders

[–] [email protected] 11 points 4 months ago (1 children)
[–] [email protected] 2 points 4 months ago

I can't say I'm one who shares that sentiment seeing as the only two projects I'm involved with happen to be Electron based (by chance rather than intention). Hell, one of them is Pulsar which is a continuation of Atom which literally invented Electron.

[–] [email protected] 5 points 4 months ago (1 children)

Couldn't we do that with x86?

[–] [email protected] 24 points 4 months ago* (last edited 4 months ago) (2 children)

We can. The point is that Windows users can't compile for arm. They depend on the Dev to to it. That will take some time and some won't do it at all.

[–] [email protected] 2 points 4 months ago (1 children)

Aha. I see so many Docker projects with examples of how to build for ARM, I just assumed it was always that easy.

[–] [email protected] 2 points 4 months ago

It's easy to compile something for a certain infrastructure if you can compile it yourself and won't have to beg another party to do so.

[–] [email protected] 1 points 4 months ago (1 children)

Is that a developer licence thing? I know GitHub recently announced Windows Arm runners that would be available to non-teams/enterprise tiers later this year.

[–] [email protected] 5 points 4 months ago (1 children)

It isn’t as simple as just compiling. Large programs like games then need to be tested to make sure the code doesn’t have bugs on ARM. Developers often use assembly to optimize performance, so those portions would need to be rewritten as well. And Apple has been the only large install of performant ARM consumer hardware on anything laptop or desktop windows. So, there hasn’t been a strong install base to even encourage many developers to port their stuff to windows on ARM.

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Yeah this has been our (well, my) statement on requests to put out ARM binaries for Pulsar. Typically we only put binaries out for systems we actually have within the team so we can test on real hardware and replicate issues. I would be hesitant to put out Windows ARM builds when, as far as I know, we don't have such a device. If there was a sudden clamouring for it then we could maybe purchase a device out of the funds pot.

The reason I was asking more about if it was to do with developer licences is that we have already dealt with differences between x86 and ARM macOS builds because the former seems to happily run unsigned apps after a few clicks, where the latter makes you run commands in the terminal - not a great user experience.

That is why I was wondering if the ARM builds for Windows required signing else they would just refuse to install on consumer ARM systems at all. The reason we don't sign at the moment is just because of the exorbitant cost of the certificates - something we would have to re-evaluate if signing became a requirement.

[–] [email protected] 14 points 4 months ago (1 children)

Ok, no shot the title doesn't contain "arm wrestle" on purpose..

[–] [email protected] 9 points 4 months ago (1 children)

It literally has a picture of arm wrestling on there. I think it's on purpose.

[–] [email protected] 4 points 4 months ago
[–] [email protected] 14 points 4 months ago (1 children)

For me, arm has already "won" this debacle -- convenience > performance all day errday.

[–] [email protected] 29 points 4 months ago (4 children)

ARM won the mobile/tablet form factor right from the start. Apple popularised ARM on the desktop. Amazon popularised ARM in the cloud.

Intel's been busy shitting out crap like the 13900K/14900K and pretending that ARM and RISC-V aren't going to eat their lunch.

The only beef I have with ARM systems is the typical SoC formula, I still want to build systems from off the shelf components.

I can't wait.

[–] [email protected] 5 points 4 months ago (1 children)

The only beef I have with ARM systems is the typical SoC formula, I still want to build systems from off the shelf components.

I'm here with you. ARM and RV could really go into standardization.

[–] [email protected] 3 points 4 months ago

Thinking about it, the SoC idea could stop at the southern boundary of the chipset in x86 systems.

Include DDR memory controller, PCI controller, USB controllers, iGPU's etc. most of those have migrated into x86 CPU's now anyway (I remember having north and south bridge chipsets!)

Leave the rest of the system: NIC's, dGPU's, etc on the relevant busses.

load more comments (3 replies)
[–] [email protected] 2 points 4 months ago

recently got asahi running on an m1 macbook pro. loving the battery life that I get out of it

[–] [email protected] 1 points 4 months ago (3 children)

Arm is not any better than x86 when it comes to instructions. There's a reason we stuck to x86 for a very long time. Arm is great because of its power efficiency.

[–] [email protected] 9 points 4 months ago (4 children)

That power efficiency is a direct result of the instructions. Namely smaller chips due to the reduced instructions set, in contrast to x86's (legacy bearing) complex instruction set.

[–] [email protected] 4 points 4 months ago (1 children)

It's really not, x86 (CISC) CPUs could be just as efficient as arm (RISC) CPUs since instruction sets (despite popular consensus) don't really influence performance or efficiency. It's just that the x86 CPU oligopoly had little interest in producing power efficient CPUs while arm chip manufacturers were mostly making chips for phones and embedded devices making them focus on power efficiency instead of relentlessly maximizing performance. I expect the next few generations of intel and AMD x86 based laptop CPUs to approach the power efficiency Apple and Qualcomm have to offer.

[–] [email protected] 1 points 4 months ago (4 children)

All else being equal, a complex decoding pipeline does reduce the efficiency of a processor. It’s likely not the most important aspect, but eventually there will be a point where it does become an issue once larger efficiency problems are addressed.

load more comments (4 replies)
load more comments (3 replies)
[–] [email protected] 8 points 4 months ago* (last edited 4 months ago) (1 children)

Arm is better because there are more than three companies who can design and manufacture one.

Edit: And only one of the three x86 manufacturers are worth a damn, and it ain't Intel.

Edit2: On further checking, VIA sold its CPU design division (Centaur) to Intel in 2021. VIA now makes things like SBCs, some with Intel, some ARM. So there's only two x86 manufacturers around anymore.

[–] [email protected] 5 points 4 months ago (1 children)
[–] [email protected] 10 points 4 months ago (1 children)

Yes, everyone forgets them. Mostly for good reasons.

[–] [email protected] 1 points 4 months ago (1 children)

Do they (or whatever's left of them) have a license to x86_64, or is it just x86?

load more comments (1 replies)
[–] [email protected] 3 points 4 months ago (1 children)

We stuck to x86 forever because backwards compatibility and because nobody had anything better. Now manufacturers do have something better, and it’s fast enough that emulation is good enough for backwards compatibility.

[–] [email protected] 1 points 4 months ago

Acorn computers would like to say that's not 100% correct.

load more comments
view more: next ›