Sp.h is the standard library that C deserves | Hacker News
TL;DR AI
2 min readKey summary
Hacker News commenters criticized the proposed C standard library sp.h for overstating its portability while limiting support to only certain platforms.
The discussion focused on design choices around syscalls, memory allocation, FILE objects, and replacing null-terminated strings.
Skeptics questioned whether the library could really work across Linux, Windows, macOS, WASM, MSVC, MinGW, and other environments.
The thread highlighted a broader tension in C library design: modern features versus compatibility, simplicity, and implementation constraints.



