Re:C/C++ vs. Rust Performance
by jeff-davis on Monday November 02, 2020 @05:12PM
(#24974096)
What's difficult in Rust is:
(1) knowing how much memory a particular structure (like a hash table) is using
(2) managing that memory as a single chunk; e.g. to free the whole thing at once so that you can pick up another chunk that you had previously serialized
It's not impossible in rust, it's just that you have to build up all the pieces and none of it will integrate nicely with the rest of the rust code.
(1) knowing how much memory a particular structure (like a hash table) is using
(2) managing that memory as a single chunk; e.g. to free the whole thing at once so that you can pick up another chunk that you had previously serialized
It's not impossible in rust, it's just that you have to build up all the pieces and none of it will integrate nicely with the rest of the rust code.