Hello everybody !
Great news ! Psyco now works on non-Intel processors !
I added a second back-end that allows Psyco to emit code for a custom virtual
machine. This emitted code is then interpreted in a fast low-level loop. This
might seem strange (interpreting code? isn't it what Python already does?) but
the result can still be seriously faster than plain Python. The virtual
machine is much lower-level than Python's: it has pseudo-instructions like
"load this address from the memory" and "add these two 32-bit ints",
essentially just like any real processor.
The VM still assumes a 32-bit machine, so it will definitely NOT work on
64-bit machines. This is because the original code base assumes that
sizeof(int)==sizeof(long)==sizeof(void*) almost continuously. I will slowly
fix these, but it will take some time.
More about the VM in the next e-mail.
Get latest updates about Open Source Projects, Conferences and News.