HACKER Q&A
📣 anyfactor

Rewriting any popular Python project in C/Rust/Haskell is better?


The internet's sentiment is that anything that is written in one of the "better language" is inherently superior than anything that is written in Python. The better languages are - Rust, C, C++, Lisp, Haskell and maybe Fortran, Zig, D, Nim.

I have seen this idea constantly popup in most discussion relating to Python and mathematical programming. Numpy being written in C justifies itself to be above criticism of Python's inefficiencies.

I sometimes am not sure if it is programming elitism or a valid argument.

If it is a valid argument, is Python should only be used as tool for proof of concept? And when there is enough traction the existing codebase should be rewritten to one of those better languages? Have you rewritten your codebase in this way and if so what was your thought process behind it?


  👤 abrax3141 Accepted Answer ✓
Rewriting python in anything is better. Esp. Julia, which is just uglified Lisp.

👤 mc4ndr3
Rewriting Python in any compiled language is better.

Imagine binding typos keeping someone awake at night. It's 2022.