Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The slab reference allocator from the challenge does that, but adds a segmented approach where the memory is allocated in N sized blocks. Go has decent support for doing these kinds of tricks; but nothing really runs faster since there's still too much magic behind the scenes. I suspect the story is the same in Rust land but I honestly never got passed the lifetime hump, too much ceremony for me.


There's not really much runtime magic in Rust (pretty comparable to C++), and arenas are definitely a performance benefit in many cases.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: