3 ms·
I 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-
by jsnathan 11y ago
I 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/