Hacker News new | ask | show | jobs
by thomasmg 220 days ago
Pypy is great for performance. I'm writing my own programming language (that transpiles to C) and for this purpose converted a few benchmarks to some popular languages (C, Java, Rust, Swift, Python, Go, Nim, Zig, V). Most languages have similar performance, except for Python, which is about 50 times slower [1]. But with PyPy, performance is much better. I don't know the limitations of PyPy because these algorithms are very simple.

But even thougt Python is very slow, it is still very popular. So the language itself must be very good in my view, otherwise fewer people would use it.

[1] https://github.com/thomasmueller/bau-lang/blob/main/doc/perf...