Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The lock-free architecture that bypasses the allocator on the hot path is called `alloca`. Many mainstream compilers, and nearly every language that is not C, seemingly haven't properly supported it for years.


Please don't twist. alloca is in fact a limited arena/pool allocator and as such for some small sizes it is latency-free. It is also there in C. It does not have anything to do with GCs.

You insist that offloading other allocations to a GC running on other threads somehow grants the current thread control over its own scheduling.

This is false.

One can say that you can't really control latency unless running under a RTOS and thus we shall never attempt that. This is also false.

There is no conceivable reason one should not assert absolute control upon what his own code does. GC injects uncertainity into that. This is intolerable.




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

Search: