News for hackers. Stuff that matters.
Re:Rust in Linux kernel is just a beginning by nyanpasu64 on Tuesday October 25, 2022 @08:53AM (#33329816)
Separately I feel "with enough eyes, all bugs are shallow" fails to apply in codebases with many users but most of whom consume it as a black box without looking inside. Some issues making it harder for me to read the code I use:

- The Linux kernel and issuance .so files lack a "view source" button on compiled binaries. And even checking out the matching source, building a replacement binary, and diffing your local changes from the matching source is an arduous progress to setup per program/library from a tarball/Git tag, wait for the computer to finish, install dependency .so files globally, ensure symbols are present, ensure you can breakpoint static functions...

- Dynamic dispatch and generic code might help maintainers and code extensibility but (in my experience) definitely impede external eyeballs from understanding code.

Re:Rust in Linux kernel is just a beginning by nyanpasu64 on Tuesday October 25, 2022 @12:37PM (#33332919)
s/issuance/userspace, s/computer/compiler
Re:Rust in Linux kernel is just a beginning by unsafecast on Tuesday October 25, 2022 @02:56PM (#33334716)
Yes! That's why I adore the way plan 9 has the whole source tree in /sys/src. Everything is there.

To a smaller extent, netbsd has pkgsrc, and most BSD friends have something like that too.