Using Python for programming algorithms

Duncan Booth duncan.booth at invalid.invalid
Tue May 20 10:16:56 EDT 2008


Roel Schroeven <rschroev_nospam_ml at fastmail.fm> wrote:

> C OTOH was designed to be compiled to assembly code (or directly to 
> machine code) and as a result there are no (or virtually) no 
> implementations that interpret C or compile it to bytecode.

Have you considered Microsoft's C/C++ compiler targetted at .Net. That 
compiles to a bytecode known as MSIL which is then interpreted and/or JIT 
compiled to machine code.

> I love Python, but IMHO it's a bit silly to maintain that the fact that 
> Python compiles to byte code instead of assembly code/machine code is 
> purely a matter of implementation; on the contrary, I believe it's a 
> result of its design. I also think that there's a large difference 
> between byte code and machine code (in Python's case; I haven't looked 
> at other languages), and that it's a bit silly to try to trivialize that 
> difference.

And then there's IronPython which is targetted at .Net. That compiles to a 
bytecode known as MSIL which is then interpreted and/or JIT compiled to 
machine code.

-- 
Duncan Booth http://kupuguy.blogspot.com



More information about the Python-list mailing list