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

I'm not too worried, since a) that makes it about as fast as cpython and b) there is a lot of low-hanging fruit. There is work being done on integrating the Cleavir compiler which does a number of tricks. In particular escape analysis and lambda lifting should both help a lot on certain types of code.


Any weekend compiler project can be faster than CPython.


Well CPython is an interpreter not a compiler so that's not really hard to do.


Not exactly. CPython combines a compiler and a bytecode interpreter. It compiles to bytecode, which is then run by the bytecode interpreter.


> Any weekend compiler project can be faster than CPython.

Not true and not even funny.


To write a compiler (and not a interpreter) it's indeed almost impossible to reach the slowness of CPython. Especially because it's hard to create a complex language in just a weekend.


using llvm as the backend not hard to make a toy language which runs insanely fast with only integer operations.


Exactly.




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

Search: