3 ms·
Maybe falcolas means that in the same way that C++ is more memory intensive than C for similar programs, because both C++ and Rust encourage a lot of Vecs/Strin
by oconnor663 10y ago
Maybe falcolas means that in the same way that C++ is more memory intensive than C for similar programs, because both C++ and Rust encourage a lot of Vecs/Strings that implicitly allocate on the heap?
- pcwalton 10y agoRust doesn't encourage that.
- oconnor663 10y agoI suppose everything's a continuum with this stuff, but here's one library I ran into where I was a little disappointed to find a heap allocation: https://dnaq.github.io/sodiumoxide/sodiumoxide/crypto/secretbox/xsalsa20poly1305/fn.seal.html https://dnaq.github.io/sodiumoxide/sodiumoxide/crypto/secret...