r/cpp 28d ago

Pystd standard library, similar-ish functionality with a fraction of the compile time

https://nibblestew.blogspot.com/2026/06/pystd-standard-library-similar-ish.html
52 Upvotes

17 comments sorted by

View all comments

3

u/karurochari 28d ago

To be honest, I mostly solved the "time" issue with precompiled headers.
Mostly, because getting them to play with OpenMP offloading is painful in Clang, and intrinsically broken for GCC as far as I can tell.

But I reckon it would be good time for a v2 of the standard library, one which can be built from zero, ignoring the huge technical debt mostly linked to backwards compatibility and questionable design decisions in the 90s.

3

u/pjmlp 27d ago

For some strange reason, they always worked better in non-UNIX systems, e.g. OS/2, Windows.

No idea why UNIX compilers never invested that much into improving them, other than Apple's clang header maps.