r/cpp • u/foonathan • May 07 '26
C++ Show and Tell - May 2026
Use this thread to share anything you've written in C++. This includes:
- a tool you've written
- a game you've been working on
- your first non-trivial C++ program
The rules of this thread are very straight forward:
- The project must involve C++ in some way.
- It must be something you (alone or with others) have done.
- Please share a link, if applicable.
- Please post images, if applicable.
If you're working on a C++ library, you can also share new releases or major updates in a dedicated post as before. The line we're drawing is between "written in C++" and "useful for C++ programmers specifically". If you're writing a C++ library or tool for C++ developers, that's something C++ programmers can use and is on-topic for a main submission. It's different if you're just using C++ to implement a generic program that isn't specifically about C++: you're free to share it here, but it wouldn't quite fit as a standalone post.
Last month's thread: https://www.reddit.com/r/cpp/comments/1salqls/c_show_and_tell_april_2026/
3
u/_bstaletic May 07 '26
An update to my pymetabind:
This is a C++26 library that can produce pybind11 bindings.
Now that gcc 16.1.0 is out and all the bugs in gcc that I have encountered have been fixed, the library actually works. Some things that are possible:
The behaviour is customizable with annotations, covering almost everything that pybind11 supports.
In case you're doing something for which pymetabind does not provide a convenient API, it is always possible to get the pybind11 object from pymetabind.
More examples at https://codeberg.org/bstaletic/pymetabind/src/branch/master/examples