On Oct 27, 2008, at 3:07 AM, Carl Mäsak wrote:

Chris (>):
How safe is it today to pre-compile Rakudo code to PIR and expect that to behave identically to as if I compiled from .pm at runtime? I believe PCT is just generating PIR anyway, so my initial guess is that there should be no differences. Are there any gotchas, like compile-time dependency checks,
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.

// Carl

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.


Reply via email to