4 ms·
From the linked article > When we call malloc, we just hope that we have enough stack space for it, we almost never check. malloc allocates on heap, not stack
by lr1970 4y ago
From the linked article
> When we call malloc, we just hope that we have enough stack space for it, we almost never check.
malloc allocates on heap, not stack.
- steveklabnik 4y agoThis comment from the author elaborates on what he meant here: https://old.reddit.com/r/Zig/comments/123jpia/blog_post_zig_and_rust/jdvj1bx/ https://old.reddit.com/r/Zig/comments/123jpia/blog_post_zig_...