Hacker News new | ask | show | jobs
by mroche 57 days ago
> I did some benchmarking of Python against C, Go, Rust, Node, LuaJIT etc in preparation for my runtime.

Out of curiosity, have you seen if Cython[0] would provide any benefit to your runtime performance?

[0]: https://cython.readthedocs.io/en/latest/src/quickstart/cytho...

1 comments

I looked at it briefly, but did not use it. I actually made an effort to use PyPy, but the issues I mentioned probably ensure that it will always lag behind CPython as far as language support is concerned.

The situation is tricky and the friction is considerable. It is not like JS where v8 made the existing language blazing fast with no changes to the language itself.

Would rather use something like Nim with Python-like syntax.