Re:I wrote an LLVM-powered trace-based JIT for Brainfuck
by samps on Monday August 30, 2010 @01:36PM
(#1646889)
Hefty! As an exercise, any sense in inlining the tracing into compiled code? That way you sacrifice the startup time benefits of the JIT (by AOT compiling at start) but still retain trace specialization.
[ Parent
| on HN ]
Re:I wrote an LLVM-powered trace-based JIT for Brainfuck
by resistor on Monday August 30, 2010 @02:05PM
(#1646992)
You could certainly do that, though the interface between statically JIT'd code and trace JIT'd code would get hairy. Plus, as I said above, there's simply not a whole lot of trace specialization going on in the first place, since Brainfuck lacks dynamic dispatch.