Hacker News new | ask | show | jobs
by viig99 2114 days ago
I personally find C++ + pybind11 vastly easier to work with, also transitioning completely to c++ from there was a pretty small leap.
1 comments

Interesting, I’ve never heard anyone who frequently uses Python and C++ together express this preference, it’s always the other direction that Cython is easier.
pytorch is pybind11 + c++
True, but that one project is just a drop in the bucket of scientific computing and C++ interop in Python, even despite the success and popularity of PyTorch - so it doesn’t really say much in favor of pybind that this or that project got good mileage out of it, it’s still such a deep minority compared to Cython.