4 ms·
> Perl6 wasn't meant as replacement for Perl 5, v5 was meant to stay forever, maybe to be improved when possible. And that we have. Sorry, but originally it wa
by lizmat 3y ago
> Perl6 wasn't meant as replacement for Perl 5, v5 was meant to stay forever, maybe to be improved when possible. And that we have.
Sorry, but originally it was meant as the replacement (and I was physically present at its announcement at OSCON in 2000). It wasn't until 2008 when the "sister language meme" was generally accepted, that the paths diverged instead of being sequential.
- Woodi 3y agoOk, Perl6 was meant as new lang version. And replacement. Ok, multi-lang virtual machines wanted to replace Perl5 binary. But: :) - multi-lang vm's are proof that v5 syntax wasn't mean to be eradicate at all cost - there was no plan or push to instantly obsolote, uninstall and deny of Perl 5 usage - I'm sure there was a conviction that some Perl 5 installations will stay for long time period into the future. Or as long as possible ~~ forever. So it wasn't like Python 2.7 replacement. And plans even assumed continuation. And some from the start wanted to have both langs :)
- lizmat 3y agoIndeed. The original plan envisioned Perl being a slang in the Raku Programming Language. That plan failed because Perl is largely dependent on C-code plugins that are used whenever Perl is considered to be too slow (which is often). So being able to support Perl syntax in Raku, would only allow use of Perl-only modules from CPAN (of which there are way too few). To counter that, Inline::Perl5 (https://raku.land/cpan:NINE/Inline::Perl5 https://raku.land/cpan:NINE/Inline::Perl5) was developed. It gives you access to 99.9% of Perl's functionality transparently, such as being able to subclass Perl classes in Raku, and vice-versa.