3 ms·
If you are forced to write pure C (or a very low level subset of C++) , then that is often because: - you need every tiny bit of performance, - you optimize f
by pkolaczk 6y ago
If you are forced to write pure C (or a very low level subset of C++) , then that is often because:
- you need every tiny bit of performance,
- you optimize for low executable size or low memory footprint (e.g ATTiny13)
- you have an exotic architecture that offers only a C compiler or ancient C++ compiler from 90s,
- you need to use C for other reasons like safety certification, e.g. MISRA C.
In all of these cases Python wouldn't work at all.
And in the others your can use modern C++ which can be just as productive as Python (in my case it is more productive, but I have probably spent more time with it than with Python, so I'm biased).