4 ms·
Makes me wonder if Python implemented in lua wouldn't just win over CPython
by kzrdude 6y ago
Makes me wonder if Python implemented in lua wouldn't just win over CPython
- Rochus 6y agoIf using LuaJIT it would be faster than CPython for sure, maybe even as fast as PyPy. Here are some measurement results comparing the C++ SOM interpreter with a LuaJIT bytecode compiler: https://github.com/rochus-keller/Som#a-som-to-luajit-bytecode-compiler-and-debugger https://github.com/rochus-keller/Som#a-som-to-luajit-bytecod.... The bytecode version of the SOM benchmark running on LuaJIT is about factor 24 faster than the C++ based interpreter. But the Gral implementation of SOM is even faster.