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

Really? What about an OS kernel code? How does "it's allcator" interacts "with the OS"? And what these allocators were written in?


Usually in a mix of Assembly and whatever is used in OS systems implementation language, not necessarily C.

https://inf.ethz.ch/personal/wirth/ProjectOberon/Sources/Ker...

The malloc() exposed in a ISO C standard library implementation isn't necessarily related to whatever means the OS does memory allocation.




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

Search: