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

> Well, Rust is a systems language, and so it should be a good fit for OS development. We're still working on bits of it, but it's a stated goal of the language, so testing that out is valuable.

My questions was not well formulated. Let me rephrase it: C is also a system language and there are plenty of OS libraries written in C. C++ could be seen as another system language. Even the syntax of Rust is similar to C/C++ according to Wikipedia article. So, what's the advantage of Rust over other systems language? Better support for autonomous systems? Reflective model? Do you have a paper? It is a research project? Do you plan to replace Linux or something like that?




(Safe) Rust provides some nice guarantees. It (should be) impossible to have use-after-free, buffer overruns, race conditions, etc. in 100% Safe Rust. A pure Rust OS could provide a safe interface to build safe programs.

While mostly a novelty, an OS capable of executing untrusted code risk-free could be a powerful tool indeed.


  > what's the advantage of Rust over other systems language?
Memory safety without garbage collection is Rust's core feature.

  > Do you have a paper? It is a research project?
I'm not the author.




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

Search: