Wrapper round x86 Assembler

Harald Massa cpl.19.ghum at spamgourmet.com
Sat Apr 10 04:31:32 EDT 2004


 
> what about a wrapper to an assembler (presumably for x86 assembly !)
> I just wrote some code doing binary operations which would have been
> about a zillion times faster in a few lines of assembly code.

import psyco
psyco.full()

psyco will automagically and transparently translate python to X86 assembly 
where it is usefull.

And psyco is Open Source, so you can dig HOW Dr. Armin Rigo implemented the 
"insert assembler code". 

Probably there is allready a solution within the psyco source.

Harald



More information about the Python-list mailing list