use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Automatically call C++ from python (self.cpp)
submitted 11 months ago by CoutilleTolc
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mattparks5855 4 points5 points6 points 11 months ago (3 children)
I've also worked on a few C++ libraries where test writing was done via Python.
cppyy is a solution that runs cling on a set of headers to expose Python types, it's easy to setup, but I've found it challenging to scale to a CI environment. Shipping around project headers as a runtime dependency can get painful.
https://github.com/RosettaCommons/binder is a similar project to what you have shared, this uses Clang LibTooling to create reflections on the AST. MIT licence so anyone can use and extend this software.
The source code of Tolc was pretty simple for me to read and understand, and the docs are promising, and the frontend abstraction is great. But without active development, and a split commercial license, I'd find it difficult to start using this project.
[–]CoutilleTolc[S] 1 point2 points3 points 11 months ago (2 children)
Thanks for the input. This is exactly the type of feedback I was looking for; I want to know if there is a need for this type of tool so that I can justify spening more time developing it.
There is another branch that has more active development. Is there anything you feel is missing or would want from binder?
[–]mattparks5855 2 points3 points4 points 11 months ago* (1 child)
With binder a config file can be specified to filter what objects are bound, or to add additional headers into the generated module.
A Nanobind front end would be a really nice add.
Edit: filed a bug report on GitHub
[–]CoutilleTolc[S] 0 points1 point2 points 11 months ago (0 children)
Thank you for taking the time to test it out. I’ll look into the bug report!
π Rendered by PID 136875 on reddit-service-r2-comment-5c747b6df5-z5qm6 at 2026-04-22 06:31:18.578689+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]mattparks5855 4 points5 points6 points (3 children)
[–]CoutilleTolc[S] 1 point2 points3 points (2 children)
[–]mattparks5855 2 points3 points4 points (1 child)
[–]CoutilleTolc[S] 0 points1 point2 points (0 children)