rakunqpmoarvm

What are nqp, nqp-m, rakudo-debug, rakudo-debug-m, rakudo-gdb-m, rakudo-m, rakudo-valgrind-m?


When I install rakudo from source:

$ git clone git@github.com:rakudo/rakudo.git
$ cd rakudo
$ perl Configure.pl --gen-moar --gen-nqp --backends=moar
$ make
$ make install

it generates the following files in ./install/bin:

$ ls -1 install/bin
moar
nqp
nqp-m
perl6
perl6-debug
perl6-debug-m
perl6-gdb-m
perl6-lldb-m
perl6-m
perl6-valgrind-m
raku
raku-debug
rakudo
rakudo-debug
rakudo-debug-m
rakudo-gdb-m
rakudo-lldb-m
rakudo-m
rakudo-valgrind-m

I know that raku, rakudo, and perl6 are the the commands used to run a .raku script, but what are the other commands and how can I use them?


Solution

  • For the others like rakudo-m


    So then rakudo-valgrind-m means use Rakudo compiler with Valgrind instrumentation on MoarVM.

    About the only ones I would use is rakudo-m, and rakudo-j or rakudo-js, and that is only if I had more than just the MoarVM version installed.

    Mainly the rest are for people that are working on Rakudo/NQP/MoarVM projects themselves.