3 ms·
Cons: * Rakudo -- the only P6 compiler for now (and likely many years, maybe forever) -- has a slow startup, around 0.1 seconds or so. * Rakudo is still a wor
by raiph 8y ago
Cons:
* Rakudo -- the only P6 compiler for now (and likely many years, maybe forever) -- has a slow startup, around 0.1 seconds or so.
* Rakudo is still a work in progress. What's done is pretty solid but, for example, no one has implemented the `-a` awk/autosplit command line option (cf https://gist.github.com/raiph/1d0cbefcb3cfe45b0b906282e6e40519 https://gist.github.com/raiph/1d0cbefcb3cfe45b0b906282e6e405...) and command line usage is currently `use strict;` by default so you have to declare variables with `my`.
* Pros
P6 makes for sweet oneliners...
25 one liners being written up this month: https://perl6.online/category/advent-calendar/ https://perl6.online/category/advent-calendar/
9 categories last updated a year ago:
https://github.com/dnmfarrell/Perl6-One-Liners https://github.com/dnmfarrell/Perl6-One-Liners
https://www.google.com/search?q=perl6+oneliners https://www.google.com/search?q=perl6+oneliners
https://www.google.com/search?q=perl6+one+liners https://www.google.com/search?q=perl6+one+liners