So, this heap
thing
#5
Unanswered
reinvantveer
asked this question in
Q&A
Replies: 2 comments 18 replies
-
I guess the |
Beta Was this translation helpful? Give feedback.
1 reply
-
The
|
Beta Was this translation helpful? Give feedback.
17 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Seeing how far I can stretch this -
alloc::vec::Vec
does not require the std lib and is immensely helpful in dynamic data wrangling. But, it requires something more than justVec::new()
I found out:I did find
pub unsafe fn heap() -> &'static mut [u8]
but this appears to just hand me a slice of memory available for dynamic allocation.So maybe this is beyond the capabilities here, but is there a chance to use, say,
Box
andVec
from thealloc
compiler crate?Beta Was this translation helpful? Give feedback.
All reactions