4 ms·
There's a notion that one can prototype in Python and then just translate that easily to modern C++ That was my first thought on looking at the github link pos
by CamperBob2 4y ago
There's a notion that one can prototype in Python and then just translate that easily to modern C++
That was my first thought on looking at the github link posted by waynecochran above: if I'm going to write C++ code that looks like that, why don't I just use Python or a similar language? What exactly is C++ doing for Wayne here?
It's not going to be much slower if it all, given that all he's doing is invoking higher-level abstractions.
Another thought: again, given the abstractions and high-level resources that C++ programmers will be coming to rely on in the years ahead, someone could "just" write a back end that translates a cleaner high-level language like Python to modern C++ for compilation and optimization.
- pjmlp 4y agoPerformance, and not having two languages to worry about. Apparently that Python translator is still to happen, given how many keep using native libraries written in C, C++ and Fortran. And cython isn't that great, given that it requires manual tuning.