in reply to Re^8: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?
in thread Perl 5 Optimizing Compiler, Part 4: LLVM Backend?
It is when you get into the details, that casual discussion starts to get difficult. There are so many phases, it gets very hard to make it clear what we are talking about at any given point. (It is hard to keep them distinct in your (my!) own mind.)
I *think* we are talking about (roughly) the same things here.
This would need to be left pretty much as is. The whole perl defines Perl thing. This would need to be compiled (back to) C and then linked into an executable.
I believe that this would need to be separated out and converted to produce IF.
Not just the runloop, but all the code the runloop dispatches to.
I think that should be compiled to IF and built into an IF library (.bc)
It would be ""combined"" with the IF from stage 2, at runtime, and given to the JIT to convert to machine code.
All total speculation of course. And possibly completely impractical or impossible. But we won't know ...
|
|---|