Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AlotOfReading
· 4mo ago · 0 comments
If you're manually calling malloc in Rust, your code is almost certainly wrong. It
might be
called as an implementation detail when you create new objects, but std can generally be used as if it were managed automatically.
Comments
[–]
quotemstr
4mo ago
I'm using malloc as synecdoche for all forms of allocation, including Arc<Box<T>> stuff.