http://qs321.pair.com?node_id=447823


in reply to Re: {Perl6} Macros and native compilation
in thread {Perl6} Macros and native compilation

Erm... we already can do that. The JIT code has been leveraged to emit native object files, and there's a bytecode->C translator that generates compilable C. (That's been in there and working, on and off, since the first few weeks of the project)

There's definitely a performance win to doing it, though how much depends on how much of the code uses the low-level types instead of PMCs, since the C optimizer has more to work with there.

  • Comment on Re^2: {Perl6} Macros and native compilation