[pypy-dev] Miasma: x86 machine code generation in Python

holger krekel hpk at trillke.net
Thu Jan 23 11:41:36 CET 2003


[Darius Bacon Thu, Jan 23, 2003 at 02:20:28AM -0800]
> I've just written a Python module to emit x86 machine code using
> assembler-like function calls, plus another module in C to invoke the
> generated code:
> 
> http://accesscom.com/~darius/software/miasma/
> 
> It comes with a little test program that compiles RPN expressions.  I
> realize nobody's talking about compiling direct to native code yet,
> but this was just so easy to hack up using code already lying around
> that I couldn't resist.  Perhaps some of the hackers on this list will
> enjoy playing with it.

Sure interesting! Except i don't know enough Scheme.  Could you
(or somebody) else explain what the challenges were and how
you solved them? 

greetings,

    holger

-- 
you can have it fast, cheap or high quality. 
pick two.


More information about the Pypy-dev mailing list