4 ms·
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 Cl
by aidenn0 12y ago
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.
- pjmlp 12y agoAny weekend compiler project can be faster than CPython.
- scardine 12y ago> Any weekend compiler project can be faster than CPython. Not true and not even funny.
- 1ris 12y agoTo 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.
- andrewchambers 12y agousing llvm as the backend not hard to make a toy language which runs insanely fast with only integer operations.
- tempodox 12y agoExactly.
- Igglyboo 12y agoWell CPython is an interpreter not a compiler so that's not really hard to do.
- lispm 12y agoNot exactly. CPython combines a compiler and a bytecode interpreter. It compiles to bytecode, which is then run by the bytecode interpreter.