Re:Ask HN: Is Python dying?
by karavelov on Sunday February 14, 2016 @09:27PM
(#11101178)
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.
[ Parent
| on HN ]
> 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
http://stackoverflow.com/questions/9173043/how-can-i-use-per...
Yes 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.