Re: basic bytecode to machine code compiler (part 3)

2011-06-21 Thread Rouslan Korneychuk
On 06/21/2011 06:55 AM, Ulrich Eckhardt wrote: Rouslan Korneychuk wrote: if i != pindex: (less if x<= pivot else greater).append(x) Just curious, is there a reason why you wrote this last line that way instead of using a "normal" if/else clause? Cheers! Uli No special reason. I jus

Re: basic bytecode to machine code compiler (part 3)

2011-06-21 Thread Ulrich Eckhardt
Rouslan Korneychuk wrote: > if i != pindex: > (less if x <= pivot else greater).append(x) Just curious, is there a reason why you wrote this last line that way instead of using a "normal" if/else clause? Cheers! Uli -- Domino Laser GmbH Geschäftsführer: Thorsten Föcking, Amtsgericht Ham

basic bytecode to machine code compiler (part 3)

2011-06-20 Thread Rouslan Korneychuk
My compiler now supports the x86-64 instruction set, in addition to x86. It also generates faster x86 machine code. Although it's designed to support 64-bit Windows, I have only tested it on Linux so far, and it doesn't support running with Windows' DEP yet. It's available at https://github.c