News for hackers. Stuff that matters.
Re:Removing garbage collection from the Rust language by pjmlp on Wednesday June 05, 2013 @03:17AM (#5824153)
Of course they don't, why should they?!

malloc/free are part of the C language runtime, not OS syscalls.

A compiler writer can build the memory allocator on top of what the OS provides as syscalls or take a shortcut and use the C runtime library instead while adding a dependency to it.

I never mentioned malloc/free were syscalls.

There are no comments on this comment yet.