4 ms·
No, it’s saying that you can do clever memory optimizations that the Rust compiler won’t let you do.
by coddle-hark 6y ago
No, it’s saying that you can do clever memory optimizations that the Rust compiler won’t let you do.
- steveklabnik 6y agoWhat kinds of things, specifically?
- kbenson 6y agoActually "won't let you do" or "makes you clearly mark where you did those things"? That is, are you referring to things it doesn't actually support doing that you want/need to do, or just that it's unsafe?
- efficax 6y agoyou can do all of that in `unsafe` blocks
- mlindner 6y agoYou have full access to the memory in Rust. There's nothing in Rust that prevents you from doing those things. You can even do in-line assembly.