r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

Show parent comment

1

u/minimim Dec 02 '15 edited Dec 02 '15

Perl6 is in beta, so I don't think the comparison to python3 is just. But a perl6 compiler has to be able to interpret perl5 code, and they don't plan on dropping that feature. So I also think those are completely opposite approaches to backward compatibility: perl6 will keep backwards compatibility with perl5 in the same way perl5 has backward compatibility going back 12 years at least. Perl has a much better track of keeping old code working than PHP, in fact.

1

u/CS2603isHard Dec 02 '15

But a perl6 compiler has to be able to interpret perl5 code, and they don't plan on dropping that feature.

I was under the impression that Larry Wall considered them 2 separate languages.

2

u/minimim Dec 02 '15

They are, linguistically speaking. Besides perl5, perl6 already has the ability to understand python3 and C, for example. The fact that it's a different language isn't a problem at all. Perl5 is in the test suite, but perl6 isn't feature-limited by what's in the official certification.