4 ms·
Really? What about an OS kernel code? How does "it's allcator" interacts "with the OS"? And what these allocators were written in?
by SomeoneFromCA 6y ago
Really? What about an OS kernel code? How does "it's allcator" interacts "with the OS"? And what these allocators were written in?
- pjmlp 6y agoUsually 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/Kernel.Mod.txt 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.