Is this make sence? Dynamic assembler for python

Dave Angel davea at ieee.org
Mon Jun 21 03:00:12 EDT 2010


Steven D'Aprano wrote:
> On Sun, 20 Jun 2010 18:21:43 -0400, Dave Angel wrote:
>
>   
>> Something's intrinsically wrong with the argument made in this thread
>> against generating assembly code.  That's exactly what happens every
>> time you write code in C.
>>     
>
> I don't know whether C compilers generate assembly mnemonics or direct 
> machine code, but the distinction for this argument is irrelevant.
>
> The argument in this thread is that it's not worth the *human coder* 
> writing assembly, not that no assembly code is involved in the process 
> anywhere.
>
>
>   
But the OP said of his friend:

"He dynamically generates mashine code and call that from python."

I took that to mean he dynamically generated machine code, not that he hired some human to do it.

DaveA





More information about the Python-list mailing list