5 ms·
Very interesting. I'm currently trading off whether to use Mojo or C++/pybind to accelerate simulations that combine matrix operations with fine-grained scalar
by RossBencina 1y ago
Very interesting. I'm currently trading off whether to use Mojo or C++/pybind to accelerate simulations that combine matrix operations with fine-grained scalar calculations. I only recently learned that pybind + cppimport offers the integrated compile-on-import experience available in Mojo.
- melodyogonna 1y agoMojo makes SIMD and GPU programming more ergonomic than what you would obtain from C++, I imagine this should factor into your decision process. The language is just less mature overall.
- fnands 1y agoI would say it depends on how stable you need the code to be. If it's something you need to put in production soon, C++/pybind might be the way to go, but if it's just a side-project, Mojo could work.
- pjmlp 1y agoDepends on how much you care to work on Windows, if not at all, then Mojo can be considered.