Switch language한국어
Back to the list

Sp.h is the standard library that C deserves | Hacker News

TL;DR AI

Key summary

2 min read
  1. Hacker News commenters criticized the proposed C standard library sp.h for overstating its portability while limiting support to only certain platforms.

  2. The discussion focused on design choices around syscalls, memory allocation, FILE objects, and replacing null-terminated strings.

  3. Skeptics questioned whether the library could really work across Linux, Windows, macOS, WASM, MSVC, MinGW, and other environments.

  4. The thread highlighted a broader tension in C library design: modern features versus compatibility, simplicity, and implementation constraints.

Read the original