logoalt Hacker News

zozbot234last Friday at 12:56 PM1 replyview on HN

Stable Rust doesn't have a local allocator construct yet, you can only change the global allocator or use a separate crate to provide a local equivalent.


Replies

kmaitreyslast Friday at 2:11 PM

Right. I have seen Zig where one needs to specify allocators as well. I'm sorry I'm not well versed enough to know how it makes things better for HPC though?

For now my plan is to write fairly similar style code as one may write in C++/Fortran through MPI bindings in Rust.

show 1 reply