3 ms·
I have been using Python for a while now, and its rarely that the language is too slow (I have encountered it on one problem). A lot of Python is for web progra
by collyw 9y ago
I have been using Python for a while now, and its rarely that the language is too slow (I have encountered it on one problem). A lot of Python is for web programming where you optimize the database and set up caching to improve performance. If you want to do some heavy number crunching Numpy is apparently not far of C in terms of performance.
Obviously its a case of the correct tool for the job and depends heavily on the type of software you are writing, but in most cases its a different type of optimization that is needed for Python code.
- igouy 9y ago> …too slow… No language implementation is "too slow" if performance doesn't matter. > … Numpy is apparently not far of C in terms of performance As-fast-as C when it is C (or Fortran or assembler…) :-)
- collyw 9y agoNumpy is a Python library, not a C library. By your reasoning Python is C.