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

Whether calling c is "required" depends on a few things. The relative importance of run-time vs programming-time, the nature of the problem, etc.

I've been doing scientific programming in Python for 4 years, and I've never felt I needed to drop to C (though I was aware of the option.)

The hard computing for most problems is done in calls to a few libraries that wrap highly optimized code from lower level languages. So matrix inversion, arithmetic on arrays, etc are just as fast in python as in C or Fortran.

If your work can't be done using library calls, pure python is going to be much slower.



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

Search: