Hacker News new | past | comments | ask | show | jobs | submit login

You actually are doing dynamic memory allocations, you are just not allocating from the operating system.

A quick look shows how this is done: https://github.com/tigerbeetledb/tigerbeetle/blob/91a105875c...

You can see things like alloc / free, memory ownership, and everything that is associated with it.

The fact that you allocate from a startup buffer vs. a call to `mmap`/`brk` doesn't really change things.




parse_addresses is only called once, during init.


Yes, we're planning also to add a kill switch to the allocator that we switch on if anything allocates after init().




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: