News for hackers. Stuff that matters.
Re:Mozilla Research Projects by Jweb_Guru on Tuesday December 23, 2014 @11:33PM (#8791546)
Rust can't really make JIT compiled code substantially safer. JIT compilers are pretty much the unsafest things ever.
Re:Mozilla Research Projects by dbaupp on Tuesday December 23, 2014 @11:49PM (#8791582)
To be specific: Rust's memory safety guarantees only guarantee that the Rust code is free from memory safety violations, it can't make any sort of guarantees that the output of that code is sane. That said, maybe the other features like ADTs and explicit compile-time tracking of ownership make writing correct JITs (slightly) easier over plain C++, but that's yet to be seen (and it seems like it would be small in any case).