News for hackers. Stuff that matters.
Re:The Windows malloc() implementation from MSVCRT is slow by plorkyeran on Saturday July 02, 2022 @05:27PM (#31962605)
Libc being just a library is indeed one of the ways that Linux is unlike Unix.
Re:The Windows malloc() implementation from MSVCRT is slow by leajkinUnk on Saturday July 02, 2022 @06:30PM (#31963024)
What do you mean by "Unix"? Are you talking about some specific Unix version, or is there something in the POSIX spec that says that libc isn't a library?
Re:The Windows malloc() implementation from MSVCRT is slow by naniwaduni on Saturday July 02, 2022 @06:49PM (#31963200)
It's not that libc is supposed to not be a library, but those functions are the POSIX-defined interfaces to the OS. Linux is unusual in that it defines its stable interfaces in terms of the syscall ABI, enabling different implementations of the libc that can work semi-reliably across kernel versions.