Re: [Python-Dev] Is there a reference manual for Python bytecode?
numba
*
http://numba.pydata.org/numba-doc/0.16.0/modules/numba.html#module-numba.byt...
* https://github.com/numba/numba/blob/master/numba/bytecode.py
pypy
* http://doc.pypy.org/en/latest/interpreter.html
* http://aosabook.org/en/pypy.html
... http://compilers.pydata.org/ #Bytecode Utilities
On Dec 28, 2015 1:33 PM, "Sturla Molden"
Ned also neglected to mention his byterun project which is a pure Python implementation of the CPython eval loop: <a href="https://github.com/nedbat/byterun">https://github.com/nedbat/byterun </a>
I would also encourage you to take a look at Numba. It is an LLVM based JIT compiler for Python bytecode, written for hardcore numerical algorithms in Python. It can often achieve the same performance as -O2 in C after a short burn-in while inferring the types of the arguments and variables. Using it is mostly as easy as adding an @numba.jit decorator to the function we want to accelerate. Numba is rapidly becoming what Google's long dead swallow should have been. :-) Sturla _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/wes.turner%40gmail.com
participants (1)
-
Wes Turner