Re:Why async fn in traits are hard
by geogriffin on Sunday October 27, 2019 @10:21PM
(#21373777)
Doesn't something like jemalloc basically give you this, but without pauses? Thread-local freelists for quick recycling of small allocations without synchronization.. funnily enough, jemalloc even uses some garbage collection mechanisms internally.
[ Parent
| on HN ]
Re:Why async fn in traits are hard
by steveklabnik on Monday October 28, 2019 @07:26AM
(#21375957)
I don't know a ton about jemalloc internals, but it is true that a lot of modern mallocs use some mechanisms similar to GCs. There's some pretty major constraint differences though.