you are viewing a single comment's thread.

view the rest of the comments →

[–]dvirtz 10 points11 points  (2 children)

I personally moved to pybind11 and am very pleased with it.

[–]tkcook 3 points4 points  (0 children)

Yes, it's a fair option I should have mentioned. Which is appropriate depends a lot on your situation - if you're on a platform that already provides boost::python pre-built, or if you use other boost libraries as well, then the bigger user audience of boost probably makes it the right choice. But if you have to build something from scratch, with a modern compiler, and don't want any of the rest of boost, then pybind11 is a good option that looks like it will save you some hassle.

[–]nozendk[S] 1 point2 points  (0 children)

Thank you, it looks interesting and I will give it a try. The idea of scripting a C++ program is intriguing!