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

> almost all prevailing contemporary environments use virtual memory

IBM's Compute Node Kernel (Blue Gene) uses offset-mapped memory (no TLB). This is great for reproducible performance (much less than 1% variability on thousands of cores, compare to 30% or more on Cray). Admittedly, most jobs running on CNK will use constant stack sizes across all threads, but not all.

The C standard does not specify that the language be implemented using a stack at all, so it would be inconsistent to provide an API for manipulating stack sizes.



If they don't specify the use of a stack, why is there alloca() vs malloc()?


alloca(3) isn't in ISO C (or even in POSIX).




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

Search: