[DGD] llvm/jit

Felix A. Croes felix at dworkin.nl
Fri Feb 22 06:17:37 CET 2013


Jared Maddox <absinthdraco at gmail.com> wrote:

>[...]
> Is he still planning to keep the extensions interface?

I would like JIT compilation to work through the extension interface,
which would of course have to be expanded for that purpose.  That would
make it easier to utilize existing JIT compilers with different licensing
terms.

The easiest way to write your own JIT compiler: write a LPC-bytecode to C
compiler, then use the native C compiler on the host to compile to bytecode.
MudOS used to have this, though it never really worked (it used dynamic
loading long before the API was standardized) and it never was very fast
because the bytecode-to-C compiler was too crude.

Regards,
Felix Croes



More information about the DGD mailing list