Also, lazy-static has been around for a long time. Releases first occurred in 2014! I'd be surprised if it had not been considered.
Also, lazy-static has been around for a long time. Releases first occurred in 2014! I'd be surprised if it had not been considered.
That said, Rust supports custom allocators now:
https://doc.rust-lang.org/book/custom-allocators.html
Write your own allocator and use Box.
I wouldn't be surprised if it hadn't been considered. The paper was released in 2015, so development may have begun in 2014. Furthermore, I don't believe the authors were engaged with the broader Rust community before this paper was released (they are today), so it's possible that there was no expert there to advise them about this approach. Also, discoverability of libraries was more of an issue back then, so it's plausible that they wouldn't have found it independently.