Arena Allocation: Another approach to managing lifetimes w/Taylor Allred

Agenda
Arena Allocation: Another approach to managing lifetimes w/Taylor Allred: Arena allocation is method for managing the lifetimes of heap-allocated objects that go together. It is also a great tool for achieving performance in applications with lots of heap allocations.
Shop Talk: General chat about Rust stuff. We turn off the stream for this part, since it generally turns into several simultaneous conversations.
Rust Meetup: www.meetup.com/utah-rust/events/

Пікірлер: 1

  • @Heater-v1.0.0
    @Heater-v1.0.06 ай бұрын

    Great stuff. Only I have a downer on the "just let it leak" suggestion for (not) managing memory. Why? Because I once compiled a big C++ program with enscripten for use in the browser as asm.js. That program leaked some objects, which was OK when compiled as native and run on some OS and it was OK when run once in the browser. But for my use I wanted to execute it repeatedly as the user worked. Turns out the run time support in the browser held on to allocations across invocations and eventually ran out of memory and crashed the page. Luckily I could get the author of said program to fix that for me.