logoalt Hacker News

dnautics • yesterday at 7:44 AM • 1 reply • view on HN

Postgres has 11 allocators, erlang has at least 8. Databases and VMs are canonical use cases for systems PLs.


Replies

simonask • yesterday at 8:05 AM

Allocators and things that look like allocators are pretty common in large projects. But allocators that can serve a standard container are significantly less common.

For example, you sometimes want a bump allocator (like the bumpalo crate). You almost never want to use it for a HashMap.

➕ show 2 replies