zlacker

[return to "Rust in the NetBSD Kernel, and other odd decisions"]
1. Surac+3J[view] [source] 2026-02-03 09:46:53
>>jaypat+(OP)
if it can't be build with Ansi C or perhaps old style C++ it is not self contained i think. depending a Language on some fast moving binarys is in my eye a bad decission. Excuse my english. im not a native speaker.
◧◩
2. rcxdud+jf1[view] [source] 2026-02-03 13:40:25
>>Surac+3J
Why are C and C++ special in this regard? I could just as well claim it's not self-contained unless you can start from source and a snippet of inspectable machine code, like Guix can (which still has fairly significant gaps in what you could call 'completely self contained', if you wanted to poke holes in it).
◧◩◪
3. ronsor+Oj1[view] [source] 2026-02-03 14:04:10
>>rcxdud+jf1
C is special because it's possible to relatively easily implement a good-enough C compiler for bootstrapping if needed. It would be under 15,000 lines of code in most languages.

C++ certainly isn't that special. It's a pain to implement, but so is Rust.

[go to top]