Hello Steve,

I'm currently implementing JIT compilation on the FreeBSD firewall on netmap, using LLVM.
(So yes, there's people doing this, maybe not as you expected it).
Maybe you can use LLVM on that OS, I'm not sure.

As for the DEP thing, Aram got before me, I was about to say that.


2014-09-09 22:45 GMT+01:00 Steve Simon <steve@quintile.net>:
Years ago The Commander and Bart Locanthi used JIT
in the form of some C that write machine code into an
array of chars, cast it to a function pointer, and called it.
(I appologise if the details are not correct but this is the idea).

I have a need for such a thing again - trying to speed up
a compressed video decoder.

Anyone done such a thing this millenium? Does the x86 data execution
prevention mean you just cannot do this - my targets are desktop OSs
other than plan9 (sadly).

-Steve




--
Daniel