4 ms·
Ah this looks beyond amazing, thanks! Python always struggled with the “2 language problem” - you want something flexible and malleable to code in most of the
by rich_sasha 5y ago
Ah this looks beyond amazing, thanks!
Python always struggled with the “2 language problem” - you want something flexible and malleable to code in most of the time (-> usually slow) and something fast in small doses (-> usually rigid and compiled).
C/C++ is good but requires heavy scaffolding. Fortran has AFAIK good support, but it’s Fortran. There used to be an unholy and very useful utility called “scipy.weave” that lets you run inline C++, I think it was a coding abomination and now is gone.
The recommended way is using Cython, but I find it generally neither nice nor fast.
Nim could seriously be it for me.