Re:Functional programming languages should be better at muta...
by eru on Thursday August 01, 2024 @12:12AM
(#41126086)
For anyone following the discussion: Mesh (https://github.com/plasma-umass/mesh) is a seriously interesting read.
At this point I must mention that paged memory can get you just enough movability that catastrophic fragmentation of this kind is avoided[2] with high probability. Paging tricks can be seriously expensive on a modern multicore processor, though, so I’m not sure this is the way forward. (The paper report only 1% perf overhead for Firefox; I don’t know if that means Firefox is less multithreaded than it could be or what.)
[1] https://www.sqlite.org/malloc.html
[2] https://github.com/plasma-umass/mesh