4 ms·
All of those OSes are written in C, C++ and sputterings of asm.
by notfed 4y ago
All of those OSes are written in C, C++ and sputterings of asm.
- t-3 4y agoThe entire point of an OS is to handle low level unsafe stuff so the user doesn't have to. Writing in a lower level language doesn't just make sense, it's straight up necessary. Rust is the only "modern" language that's anywhere near the stability and maturity required, but it's still quite young and rough.
- Yoric 4y agoAs a note, there are a few other languages that might get there eventually, including Zig and Circle.
- notfed 4y agoTotally agree that a low level language is necessary, but my point was that memory-unsafe languages are not necessary, which it seems you agree since you mentioned Rust as a candidate.