FizzyOrange

joined 2 years ago
[–] FizzyOrange@programming.dev 11 points 2 months ago

Unlikely, you'd do packet processing in hardware, either through some kind of peripheral or if you're using RISC-V you could add custom instructions.

[–] FizzyOrange@programming.dev 60 points 2 months ago* (last edited 2 months ago) (2 children)

He's right. I think it was really a mistake for RISC-V to support it at all, and any RISC-V CPU that implements it is badly designed.

This is the kind of silly stuff that just makes RISC-V look bad.

Couldn't agree more. RISC-V even allows configurable endianness (bi-endian). You can have Machine mode little endian, supervisor mode big endian, and user mode little endian, and you can change that at any time. Software can flip its endianness on the fly. And don't forget that instruction fetch ignores this and is always little endian.

Btw the ISA manual did originally have a justification for having big endian but it seem to have been removed:

We originally chose little-endian byte ordering for the RISC-V memory system because little-endian systems are currently dominant commercially (all x86 systems; iOS, Android, and Windows for ARM). A minor point is that we have also found little-endian memory systems to be more natural for hardware designers. However, certain application areas, such as IP networking, operate on big-endian data structures, and certain legacy code bases have been built assuming big-endian processors, so we have defined big-endian and bi-endian variants of RISC-V.

This is a really bad justification. The cost of defining an optional big/bi-endian mode is not zero, even if nobody ever implements it (as far as I know they haven't). It's extra work in the specification (how does this interact with big endian?) in verification (does your model support big endian?) etc.

Linux should absolutely not implement this.

[–] FizzyOrange@programming.dev 1 points 2 months ago

No, an example where a modification to coreutils was open sourced by a commercial company that might otherwise not have.

The GPL has been reasonably effective in some cases like the Linux kernel and KHTML at getting companies to release their modifications. But I don't see that as being significant for coreutils because a) most companies would have zero need to modify them, and b) they could just use the BSD versions if they really wanted.

[–] FizzyOrange@programming.dev 5 points 2 months ago

*matriculation

[–] FizzyOrange@programming.dev -1 points 2 months ago (2 children)

Tell me one time when GNU coreutils being GPL has had any effect whatsoever.

[–] FizzyOrange@programming.dev 2 points 2 months ago

Wow are there still SystemD naysayers? Mind boggling.

[–] FizzyOrange@programming.dev 3 points 3 months ago

Windows 11 IoT LTSC is very good. I don't know about the normal consumer version.

[–] FizzyOrange@programming.dev 1 points 3 months ago

Not exactly. It is pretty similar though, true.

[–] FizzyOrange@programming.dev 12 points 3 months ago (2 children)

Yeah it's obviously an improvement but I guess you can't really sell a distro on "it has a more logical filesystem layout which may cause some issues, and it's super super niche which will definitely cause some issues".

Probably a lost cause. I imagine Flatpak will actually work properly before the Unix filesystem hierarchy is made sane.

[–] FizzyOrange@programming.dev 13 points 3 months ago (3 children)

Yeah it was inspired by Powershell. But it also has syntax that isn't completely awful.

[–] FizzyOrange@programming.dev 3 points 3 months ago

Clearly within the margin of error. Especially because they were obviously not just looking at Bulgaria.

view more: ‹ prev next ›