| ▲ | stevekemp an hour ago | |
Depending on how low-level you're going, you don't even need to call brk. My toy stop/copy GC and allocation routines just have this:
Of course there are other syscalls involved in my compiler/runtime, but for memory allocations the static area sufficed for me. | ||