Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


I 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.


Mojo 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.


Depends on how much you care to work on Windows, if not at all, then Mojo can be considered.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: