From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5027045b88fe7d178a0926131e4205f1@quintile.net> From: "Steve Simon" Date: Tue, 9 Sep 2014 22:45:01 +0100 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] JIT (mostly off topic) Topicbox-Message-UUID: 157a1218-ead9-11e9-9d60-3106f5b1d025 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