4 ms·
Same use as in learning any other language. We could very well have asked what was the use in learning Go in 2010, but look how that turned out. Perl6 is curr
by s_kilk 11y ago
Same use as in learning any other language.
We could very well have asked what was the use in learning Go in 2010, but look how that turned out.
Perl6 is currently a very interesting language with a relatively weak module ecosystem. Which is a position many languages have been in before.
Let's not dismiss it out of hand.
- jsnathan 11y agoI wonder what ever happened to the dream of Perl 6 running (or interfacing with) Perl 5 code out of the box, and thus having access to all of CPAN from the get-go. Does anyone know if that is still a goal? I always thought that would make a world of a difference.
- peteretep 11y agohttps://github.com/niner/Inline-Perl5/ https://github.com/niner/Inline-Perl5/ https://github.com/rakudo-p5/v5/ https://github.com/rakudo-p5/v5/
- cygx 11y agov5 isn't in a usable state right now.
- awwaiid 11y agoPerl6 is such a completely different language and implementation that calling Perl5 is no different than calling Ruby or Python -- they all involve effectively embedding or calling out to the other language. Here is a gist where I'm calling out to some Python. It is not done in the magical future way (which is in progress) of just doing "use matplotlib::pyplot:from<python2>" or similar, but not too bad. https://gist.github.com/awwaiid/ef3f0abcfa96e34977b4 https://gist.github.com/awwaiid/ef3f0abcfa96e34977b4 (I wrote this some months ago -- it can be a bit cleaner now)
- s_kilk 11y agoApparently Inline::Perl5 works well enough: https://github.com/niner/Inline-Perl5/ https://github.com/niner/Inline-Perl5/