You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a chapter on allocating memory. I'm specifically thinking of bump allocation because:
It's super easy to implement
It delivers good performance
It can support concurrent and atomic operations, though you may still need locking in certain cases (e.g. when requesting a new arena to allocate into)
The text was updated successfully, but these errors were encountered:
It's worth mentioning that this may require the use of the alloc crate, which currently still requires a nightly version of Rust. One can also use a Vec but that's a fairly limited approach and won't work if you want to store objects of different sizes (without using additional layers of indirection) or use a custom alignment.
We need a chapter on allocating memory. I'm specifically thinking of bump allocation because:
The text was updated successfully, but these errors were encountered: