Hacker News new | past | comments | ask | show | jobs | submit login

C and say, rust or c++ can interface.

You don't need to rewrite, just stop writing extra stuff in C, maybe when you do a really big refactor in C, port it. In the end, we can migrate away from C gradually.

That makes me wonder, is there any chance in hell we get some RUST in the Linux source code?





I recall that Linus once said on the LKML that he could see himself accepting Rust code into the kernel. But I cannot find the source right now.


The problem isn't technical rather political.

If you want to fix UNIX security issues related to C, first you need to convince kernel developers across all UNIX variants to move away from C.

Then even a fully modernized UNIX kernel needs to provide support to unsafe POSIX APIs.


As we all know, Windows is totally secure, GUIs are awesome and the Burroughs architecture is unique.


See you already know, improving the world one person at a time.


One issue that would make Rust more likely in Linux would be a GCC toolchain for Rust. I personally don't want to see fragmented development of the language, though. Perhaps a backend for MIR for GCC could be done?

But, Linus et al still love C...


No way will Torvalds allow modifying the build process to include Rust.

Write your own out-of-tree Rust modules if you like, but they'll never be merged in.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: