Re: [Haskell] ANNOUNCE: Harpy -- run-time code generation library

On 5/11/07, Dirk Kleeblatt
Hi everybody,
we're pleased to announce the first release of Harpy.
Harpy is a library for run-time code generation of x86 machine code. It provides not only a low level interface to code generation operations, but also a convenient domain specific language for machine code fragments, a collection of code generation combinators and a disassembler.
Impressive. Does the library require that an assembler (e.g. MASM) be installed? Justin

On Fri, 2007-05-11 at 08:58 -0700, Justin Bailey wrote:
On 5/11/07, Dirk Kleeblatt
wrote: Hi everybody, we're pleased to announce the first release of Harpy.
Harpy is a library for run-time code generation of x86 machine code. It provides not only a low level interface to code generation operations, but also a convenient domain specific language for machine code fragments, a collection of code generation combinators and a disassembler.
Impressive. Does the library require that an assembler ( e.g. MASM) be installed?
No. Check out the code. It directly generates x86 machine code in memory and you can execute it in-place. It's pretty cool. Duncan

Justin Bailey wrote:
On 5/11/07, *Dirk Kleeblatt*
mailto:klee@cs.tu-berlin.de> wrote: we're pleased to announce the first release of Harpy. Impressive. Does the library require that an assembler ( e.g. MASM) be installed?
No, it doesn't, it's doing all the dirty stuff using the foreign function interface. Harpy just allocates memory blocks and directly writes opcodes into them. One of the goals of Harpy was being able to run generated code without big overhead, like starting external programs. - Dirk
participants (3)
-
Dirk Kleeblatt
-
Duncan Coutts
-
Justin Bailey