vm-memory
is really cool and should be IMHO part of stdlib :-) best way to map files and other memory so far in #Rust.
Some project types where you absolutely need memory mapped I/O are:
I.e. anything with high scalability, high availability and in real-time processing low latency.
Hey folks,
Danke fĂĽr all the support. You can save 15% on everything on #BandcampFriday today, when you use the discount code "DANKE" at checkout, from today until Monday!
@calbaker No.
It has static and run-time checks for memory safety, which is not the same as being memory safe. Just like Go, Java, Python and what not have measures for memory safety but instead of borrow checker they use a garbage collector.
Rust is less safe than any of those languages because the result is an ELF binary, which is roughly a twist of what C++ source generates with fancy checks. Same attack techniques, like ROP (return-oriented programming) gadgets still apply as for any possible ELF binary ever compiled.
[$] Inheritable credentials for directory file descriptors https://lwn.net/Articles/971825/ #LWN
Despite the misleading name, apparently rust-vmm/vm-memory
can do memory mapped I/O on a wider scope. I.e. it could be used in a project having nothing to do with virtualization. In Enarx the situation is two-folded:
WhatsApp Spam has been increasingly annoying recently, how can someone be calling me on WhatsApp that ISN'T a WhatsApp user?