TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Perl7 is a fork of values

151 pointsby lizmatalmost 5 years ago

19 comments

lmiller1990almost 5 years ago
I think most people using Perl for anything non trivial (eg, large web app with Catalyst) are unlikely to be changing their version of Perl without a good reason, and very few people are starting large Perl projects now days. My day job is working on a fairly complex app running 5.28.1, we have no desire to change the Perl version without a very good reason to do so.<p>I find this post a little unsettling. It seems like even the Perl community is unsure why they are doing this.<p>At least for me, Perl === Perl 5 (and probably always will). It works, and it&#x27;s ecosystem is very mature.
评论 #24020382 未加载
评论 #24020570 未加载
评论 #24025145 未加载
评论 #24020574 未加载
评论 #24023304 未加载
评论 #24025563 未加载
qalmakkaalmost 5 years ago
I like Perl, and I think that changing the defaults is a sane thing to do. Starting a new script with dozens of &quot;use strict&quot;, &quot;use v5.30&quot;, etc is less than ideal and it&#x27;s easy to forget something and shoot yourself in the foot. Almost 30 years will pass between Perl 5 and 7, and going back to the old values is just a matter of adding a few lines at the beginning of your old script. It&#x27;s not a mess like the whole &quot;Python 2&#x2F;3&quot; ordeal that was deeply more complex and painful.<p>Heck Perl in the last 30 years has been even more stable than C. I remember when gcc and clang switched from a default of GNU89 to GNU99 and it broke several packages who didn&#x27;t set or check for the right flags; nobody bitched about it and just went on to fix their Makefiles.
评论 #24023086 未加载
kinowalmost 5 years ago
Had a chance to work with Leon on the TestAnything protocol. Really great guy to work with.<p>&gt;I don&#x27;t know where we&#x27;re going. I&#x27;m not even sure if this forking is good or bad in the long run (it could be good if managed well, but so far it isn&#x27;t). And that terrifies me.<p>Hopefully this new version will make Perl easier for newcomers. But maybe before the final decision they will find a compromise solution where some old features may be dropped, while making it not-so-hard to migrate Perl5 to Perl7.
评论 #24041177 未加载
CydeWeysalmost 5 years ago
Wait, hold on. They&#x27;re talking about Perl7. Is this the next version after Perl6, which is called Raku? Or is Raku already completely forked off and now they&#x27;re talking about another fork of what remains of Perl?
评论 #24020591 未加载
评论 #24020586 未加载
评论 #24020597 未加载
beefhashalmost 5 years ago
So now that Perl 7 wants to actively remove backwards compatibility from its culture, where are people to turn now for stable&#x2F;non-moving scripting languages?
评论 #24020484 未加载
评论 #24021840 未加载
评论 #24023062 未加载
评论 #24023316 未加载
评论 #24021461 未加载
评论 #24022447 未加载
评论 #24021132 未加载
评论 #24020508 未加载
rurbanalmost 5 years ago
Exactly. &quot;7.0 doesn&#x27;t aim to bring new features, it doesn&#x27;t enable us to do anything that isn&#x27;t possible without it (other than not writing that guard). Instead, it aims to change perl culture as we know it. The whole point of perl7 is radically choosing approachability over stability.&quot;<p>Breaking back compat without any new features on the horizon to justify them is not only ridiculous, it&#x27;s suicide. They even broke back compat in 5.30 with the change of attribs on subs, which is heavily used outside of perl5, but not at all within. Totally unjustifiable.
评论 #24020224 未加载
gjvcalmost 5 years ago
Much of the problem is that people see things like Perl or Python as holy grails that must not be changed or questioned. This stance mainly comes from these languages having been installed by default on almost all Unix platforms for the past 25 years. That&#x27;s quite a long time to bludgeon people into thinking that these things are sacred and fixed.<p>Computerists should not be afraid to try something new at every turn, and then reject that something if it does not measure up. In the short run, change is often scary, but in the long run it is the only way to survive.
randallsquaredalmost 5 years ago
I wonder if Perl 8 will also be a fork of Perl 5.
mkoubaaalmost 5 years ago
a similar argument is going on in c++ community - whether to value stability or performance.<p>one thing that always struck me is that the number of developers of X language is some factor times the number of developers at the point in time when it first had a strong community. if that factor is greater than 2, and it usually is, then to me dividing the language into two distinct dialects with different values makes sense.
评论 #24020417 未加载
im3w1lalmost 5 years ago
Which kind of greenfield projects would the perl community like to claim? Is there anything it&#x27;s particularly suited for?
jlokieralmost 5 years ago
If I understand right, all they are doing is changing the per-script, per-module defaults to enable current language features, instead of having most features since about 2005 disabled by default.<p>Perl5 has a very strong position on backward compatibility. Even when they change behaviour or add new syntax, that&#x27;s disabled by default unless a script or module explicitly asks for the new behaviour.<p>Each significant feature can be switched off or on per module. Even if the main program turns on features, they remain off for the modules used by the main program.<p>So as far as I can tell, the proposal is just to change this default, so that modern Perl5 features are available to new code by default, instead of having to be explicitly requested, and there&#x27;s no radical change or incompatibility planned for v7.<p>That&#x27;s a change of compatibility-first culture. It means scripts which don&#x27;t specify what they do and don&#x27;t want will indeed break with newer versions, occasionally. However Perl5 changes quite slowly, and it&#x27;s unusual for something new to break something old anyway.<p>But it should be easy for scripts to specify what they want.<p>If there&#x27;s a &quot;no v7&quot; directive that should be enough at the start of any script or module that wants to keep working while being insulated from future changes. That&#x27;s not much different, in practice, than what they already have to do to ask for features they do use.<p>Another idea would be to have two search path directories, with different defaults in each, and modules install into the appropriate one according to module metadata. This would allow existing, old modules to carry on working in v7.
py_or_dyalmost 5 years ago
I really don&#x27;t get any of this. Here&#x27;s the full picture: Larry Wall mostly gave up on Perl 5 in 2000 and announced the next release would be &quot;Perl 6&quot;. A few small updates happened to perl 5 up until 2002. Larry started working on Perl 6, forever leaving perl 5. Perl 5 goes stagnant for 5 years, meaning it had no updates released for 5 years. During this time, droves of people picked up python. Perl 6 was no where near complete in 2007, and a small team of devs pushed out perl &quot;5.10&quot; after a 5 year hiatus.<p>Perl 6 was finally released in ~2018 but by this time no one cared. The perl 6 team feels because of the name &#x27;perl&#x27;, people aren&#x27;t adopting this new language, so they change the name. And now a year later, the small perl 5 team is wanting to take perl into the modern age by breaking backwards compatibility. It makes no sense at all, that was the job of perl 6.<p>It would no different if I started complaining about python 2 not getting any updates and then making a plan to better improve its parser and object model and break backwards compatibility and bring it into the modern age. Python 3 already did that, so like what the heck are you doing???<p>And then the comments from the perl 7 supporters... saying things like we can either &quot;fight or die&quot; or doing nothing is &quot;certain death&quot; but the alternative is &quot;uncertain hope&quot;. I just don&#x27;t see the point in fighting for something the original author of gave up on over 20 YEARS ago.<p>I&#x27;ve stated my points [0] before on how companies that stick with perl 5 do so at their own demise. They get cultured into a train of thought where updating software is seen as bad and unhealthy. And if they are a consultancy, their downstream customers also get cultured in to never having to worry about &quot;updates&quot; and&#x2F;or paying for updates. So then long term contracts with said customer only take into account the cost of feature enhancements instead of &quot;maintenance&quot;. So then it becomes impossible to move either consultancy or customer off of the &quot;perl platform&quot; because going to something like django, while a big cost in its own right, would involve a different long term contract that would require paid support and downtime for future django updates&#x2F;releases. Never mind that finding devs would be easier (and probably cheaper), and the fact that django gets regular security audits and has a much larger plugin&#x2F;library support ecosystem.<p>Anyway, to each their own. And godspeed to the perlings out there, I just don&#x27;t see how any of this is worth it...<p>[0]:<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23633478" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23633478</a>
jarymalmost 5 years ago
Perl does have a fair few quirks but those that know it are probably content for it to stay the way it is and those who don&#x27;t like it have probably moved to another language.<p>Personally, I don&#x27;t like a major version of a programming language making major breaking changes because upgrading a programming language is not at all like upgrading an app.<p>Would it be so bad of them just to keep Perl as it is and imagine the &#x27;new shiny&#x27; and give that a new name - maybe Porl or something?
评论 #24021089 未加载
systemsalmost 5 years ago
I am honestly disappointed, I think Raku is a much nicer language than Perl 5 or 7<p>And I really wish, if those working on Perl 5 would have switched to Raku, but sadly i think CPAN for Perl 5&#x2F;7, have a lot more activity than the equivalent at Raku<p>Most new and modern languages are Compiled, Functional or targeting the JVM or .Net frameworks<p>Raku is I think the last and only modern scripting language , it could have used the helping hand of the Perl 5&#x2F;7 community
评论 #24021638 未加载
评论 #24023037 未加载
评论 #24023704 未加载
nige123almost 5 years ago
Expressiveness + Extensibility + Stability<p>Sounds like excellent values for a programming language.<p>I&#x27;m interested to hear what the top three values for Perl 7 are?<p>Exciting times for Perl!
jpzalmost 5 years ago
what happened to perl6? I&#x27;m confused :)
评论 #24021741 未加载
评论 #24021689 未加载
amaialmost 5 years ago
Perl7 is as important as Rocky 7 or Terminator 7.
dilandaualmost 5 years ago
Love to see the Perl team discussing these issues in such a thoughtful way. Over the years I have learned to value stability and backwards compatibility, through hard lessons (which were often quite expensive to my employer). But no one value is good or bad, per se, rather they should be selected carefully: and that is the point I took away from this article.
nintendo1889almost 5 years ago
I always wondered what the trolls on slashdot posted about Tom Christiansen when he died. The posts were all deleted.
评论 #24020310 未加载