GitHub Hot Board

GitHub Hot Board · Repository archive

jpakkane/pystd

A self-written C++ standard library (This description comes from the repository itself.)

Data at October 26jpakkane

Best

#231

Underappreciated Gems

100

Total stars

1

Total forks

3

Days on boards (30d)

Project statusLicense: NOASSERTIONLast push: October 19Open issues: 1

Collected since 2026-10-25; unknown = not yet harvested

Put your badge on the README · jpakkane/pystd[![Put your badge on the README](https://git.vaiox.xyz/api/badge/jpakkane/pystd.svg)](https://git.vaiox.xyz/en/repo/jpakkane/pystd)
<a href="https://git.vaiox.xyz/en/repo/jpakkane/pystd"><img src="https://git.vaiox.xyz/api/badge/jpakkane/pystd.svg" alt="Put your badge on the README" height="20"></a>

README

A self-written C++ standard library

Design goals:

  • NOT an implementation of the ISO C++ standard library, but instead an experiment to see what a stdlib without backwards compatibility requirements might look like
  • design-wise copy the Python standard library's APIs whenever possible
  • minimize build times
  • a single header for the most common things
  • KISS
  • needs to be performant, but not "super optimized" to the hilt
  • Can use existing C libraries like pcre but not C++ libraries

API and ABI stability

Do both of these:

  • Maintain perfect API and ABI compatibility
  • Make it possible to change both in arbitrary ways

This seems impossible but is in fact fairly easily achievable:

  • Put everything under pystd<year> namespace

  • When release happens, copy all files from foo<year>.[ch]pp to foo<year+1>.[ch]pp and rename the namespace accordingly

  • The old version remains forever frozen in time

  • Arbitrary changes can be done to the new version

Anyone who needs to interoperate with code using the old versions can #include the old header and use things from its namespace as needed.

Limitations

Tested with GCC and Clang on Linux and macOS. Does not work with MSVC as it has not yet added support for pack indexing.

Current rankings

  • 231

    Underappreciated Gems

    100 stars · 1 fork · Total stars (ascending)

    Underrated →

Momentum, past 30 days

Cumulative stars

Rank movement

Daily star gain

Racing nearby on the same board · Underrated

← Back to boards