Asmjit - JIT asm compiler (for C++)

Bill Baxter wbaxter at gmail.com
Tue Feb 3 00:04:25 PST 2009


On Tue, Feb 3, 2009 at 4:59 PM, dennis luehring <dl.soluz at gmx.net> wrote:
> dennis luehring schrieb:
>>
>> Bill Baxter schrieb:
>>
>>> That's pretty cool already, but I was thinking with D you could just
>>> write the assembly function directly as a string mixin.  Or really
>>> (even in C++ ) you could just parse the darn assembly function at
>>> runtime.
>>
>> other JIT assemblers:
>>
>> http://homepage1.nifty.com/herumi/soft/xbyak_e.html
>> http://www.transgaming.com/products/swiftshader/
>
> but what i realy like to see (later) is a JIT compiler for D itselfe
> like a mixin but at runtime ... ideas?

Maybe LLVM can do this at some point.  I think the apple shader thing
mentioned above jit compiles some sort of C-like language.  OpenCL
will probably be doing the same.

--bb



More information about the Digitalmars-d mailing list