Comment by physicsguy
18 hours ago
Cython and PyBind and Nanobind are good for wrapping an existing library written in C++ and crafting an interface that doesn’t feel like it’s a C++ one. They were a big step from ctypes and SWIG
18 hours ago
Cython and PyBind and Nanobind are good for wrapping an existing library written in C++ and crafting an interface that doesn’t feel like it’s a C++ one. They were a big step from ctypes and SWIG
Plus, even if it has a Perl like feeling to it, C++26 reflection will make this even easier.
Already available on GCC 16.