4 ms·
I'm not sure that I've ever heard that as an implicit goal, but a 'runtime-less Rust' hasn't existed yet. Now, you can't access arbitrary memory without an unsa
by steveklabnik 14y ago
I'm not sure that I've ever heard that as an implicit goal, but a 'runtime-less Rust' hasn't existed yet. Now, you can't access arbitrary memory without an unsafe block, that may be what you're thinking of.
Recently, zero.rs was released, which allows you to write some Rust programs without the runtime. This is because Rust basically expects certain functions to exist, so they have to be defined somewhere. That said, things like 'a GC' aren't implementd, they just throw an error. Please see: https://news.ycombinator.com/item?id=5771173 https://news.ycombinator.com/item?id=5771173
This is just one step further in demonstrating that these things work.
- usea 14y agoA link to the HN thread on zero.rs https://news.ycombinator.com/item?id=5770212 https://news.ycombinator.com/item?id=5770212