Is this make sence? Dynamic assembler for python

Terry Reedy tjreedy at udel.edu
Sat Jun 19 21:08:16 EDT 2010


On 6/19/2010 2:53 PM, DivX wrote:
> I found on the forum some discussion about crypting text and one guy
> did make assembly implementation of crypting algorithm. He dynamically
> generates mashine code and call that from python. Here are impressive
> results http://www.daniweb.com/code/snippet216632-5.html
>
> Is this better approach then writing extensions in c?

You have to define 'better'. This approach requires someone to write 
template assembler code, which will be machine specific. To be faster 
than compiled C on a particular machine, one must be pretty good at 
assemblee also.




More information about the Python-list mailing list