On Oct 27, 2008, at 3:07 AM, Carl Mäsak wrote:
How safe is it today to pre-compile Rakudo code to PIR and expect
behave identically to as if I compiled from .pm at runtime? I
is just generating PIR anyway, so my initial guess is that there
no differences. Are there any gotchas, like compile-time
that I should look out for?
Precompilation to PIR currently doesn't work in the November project
-- the difficulties occur when trying to call methods in the
precompiled module. Right now our Makefile protests if someone tries
to compile the modules to PIR.
I think there is an rt ticket for this, but my attempts to dig it up
fail. Maybe someone else is more lucky.
Good to know. My tests were passing as PIR-compiled, but I only
tested my grammar so far before I got roadblocked. I'll keep testing
with and without PIR as time permits.