Yes, precompilation will help. Although we're not ready to make true or fake executables yet, you can compile to the moarvm bytecode file:
perl6 --target=mbc --output=print.moarvm print.p6 But, this crashes during deserialization for me, so I'm not sure if that can be made to work as it stands. Regards, Bart 2016-02-03 13:29 GMT+01:00 Tom Browder <tom.brow...@gmail.com>: > On Thursday, January 21, 2016, Elizabeth Mattijsen <l...@dijkmat.nl> wrote: >> >> > On 21 Jan 2016, at 00:42, Alex Jakimenko (via RT) < >> perl6-bugs-follo...@perl.org> >> > ... > >> As you can see, most of the time is spent parsing the file, and then >> optimizing and then generating the bytecode. >> >> This won’t get any faster until we spend time on optimizing grammars in >> NQP and/or MoarVM performance in general. > > > Wouldn't the coming feature to compile the script into "foo.exe" help, > even before other major optimization so? > > -Tom > >>