4 ms·
Rust can't really make JIT compiled code substantially safer. JIT compilers are pretty much the unsafest things ever.
by Jweb_Guru 12y ago
Rust can't really make JIT compiled code substantially safer. JIT compilers are pretty much the unsafest things ever.
- deleted 12y ago[deleted]
- dbaupp 12y agoTo 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).