3 ms·
It can't be said - Perl6 is completely different language and brings a lot of desireable features on the table. The problem is that it is not so easy to port Pe
by karavelov 11y ago
It can't be said - Perl6 is completely different language and brings a lot of desireable features on the table. The problem is that it is not so easy to port Perl5 code to Perl6 as porting Python from 2 and 3.
- pyre 11y ago> The problem is that it is not so easy to port Perl5 code to Perl6 as porting Python from 2 and 3. Is this really the case? https://github.com/niner/Inline-Perl5 https://github.com/niner/Inline-Perl5 http://stackoverflow.com/questions/9173043/how-can-i-use-perl-5-modules-from-perl-6 http://stackoverflow.com/questions/9173043/how-can-i-use-per...
- awwaiid 11y agoYes this is the case; Through libraries we are trying to make it easy to CALL perl5 (and ruby and python and...) modules from Perl 6. But porting -- aka translating -- is another matter. Mostly it requires a similar amount of effort as if you are translating your program to any other dynamic language for nontrivial programs. My understanding is that LOTS of Python2 programs work fine in Python3 with no (or very trivial) changes. Very very few Perl5 programs will work fine in Perl6 with no changes.
- pyre 11y agoWhile this is true, a good deal of porting could be managed by packaging up old code into Perl5 modules and using Perl6 to glue it together, no?