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

Why not write an entire OS in a message-passing VM based language with garbage collection? No crashes, ever!

In fact, you can run Erlang directly on raw metal, or write an OS in Erlang: http://www.erlang-factory.com/static/upload/media/1498583896...




Because borrow checking > GC. When you have a GC, you need several times more memory to run the same program with the same performance as without -- and usually, you have to say goodbye to any sort of determinism in execution time, as well.

What Rust brings to the table is guaranteed memory safety without GC, and all memory is released in strictly deterministic time.

So for an OS, it's much better to bring the good bits of Erlang to Rust.




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

Search: