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.

Perl 6 Optimism

157 pointsby vgy7ujmover 7 years ago

15 comments

joostersover 7 years ago
I don’t understand why Perl 5 and 6 are still tied together as if they are the same language. There’s no compatibility between the two. You can’t write a library that works in both versions, so you lose CPAN and the thousands of packages that make Perl so powerful. I don’t think there’s even any <i>reliable</i> way to translate Perl 5 source code.<p>This is a vastly larger change than python 2-&gt;3, and people are still using python 2.x. In short, there’s no sensible upgrade path, Perl 5 &amp; 6 are very much their own language.<p>If Perl 6 wanted backwards compatibility, they needed to have thought about it a long time ago. Trying to hack in some Perl 5 style functions into it now seems futile...
评论 #16212481 未加载
评论 #16215009 未加载
评论 #16213211 未加载
评论 #16212446 未加载
评论 #16212272 未加载
评论 #16213174 未加载
评论 #16217619 未加载
评论 #16214199 未加载
EvanMillerover 7 years ago
I cut my teeth on Perl 5 in the early 2000s, and I&#x27;ve been curious about Perl 6 for a long time.<p>Last year I sat down with Perl 6 for long enough to form opinions on the language&#x27;s merits, which are many. I&#x27;m told many of my criticisms have been addressed in the five months since the article was published, but perhaps some of you will enjoy reading the original review. Cheers!<p><a href="https:&#x2F;&#x2F;www.evanmiller.org&#x2F;a-review-of-perl-6.html" rel="nofollow">https:&#x2F;&#x2F;www.evanmiller.org&#x2F;a-review-of-perl-6.html</a>
评论 #16218687 未加载
kstrauserover 7 years ago
Perl Pessimism: <a href="https:&#x2F;&#x2F;trends.google.com&#x2F;trends&#x2F;explore?date=all&amp;q=perl" rel="nofollow">https:&#x2F;&#x2F;trends.google.com&#x2F;trends&#x2F;explore?date=all&amp;q=perl</a><p>I have happy memories of Perl, and it started me on the path that led to a nice career of Python awesomeness. Thanks, Perl! That said, I can&#x27;t imagine a plausible scenario where I&#x27;d ever consider using it again. I almost certainly wouldn&#x27;t use it professionally because it&#x27;s not exactly going to light up a resume. Yes, there are still Perl shops. But no, there aren&#x27;t very many of them, and I&#x27;d be highly suspicious of an engineering department still writing new code in it today without a very good reason.
评论 #16215246 未加载
评论 #16214732 未加载
评论 #16215670 未加载
评论 #16214761 未加载
评论 #16215846 未加载
评论 #16215076 未加载
评论 #16215126 未加载
评论 #16215980 未加载
评论 #16214978 未加载
评论 #16215214 未加载
crussoover 7 years ago
I spent a huge amount of time in my 20&#x27;s writing Perl 4 &amp; 5 scripts. Even though I no longer use Perl, I still feel nostalgic about it.<p>That said, I can&#x27;t find any reason to pick up Perl 6 and start learning it. With so many other useful and interesting languages out there: Python, Elixir, Elm, Rust, etc... what appeal should Perl 6 have to the masses these days?<p>Is anyone jumping into Perl 6 like they did with Ruby a decade ago and saying, &quot;Wow, programming just got fun again&quot;?<p>I&#x27;d love to see a Perl 6 breakthrough, but honestly it feels like those attempts to keep BeOS going... too little, too late. Its time has passed.
评论 #16214003 未加载
评论 #16213331 未加载
评论 #16217955 未加载
评论 #16214952 未加载
评论 #16214535 未加载
zekevermillionover 7 years ago
Perl 6 appeals to me enough to make it my first new language to study, after a 20-year hiatus from any meaningful programming. This could be taken as an anti-endorsement. But for someone with no legacy skills, and no legacy codebase to draw on, I can afford to be arbitrary. What sold me is the cheat of storing floating point numbers as rationals composed of integers. Also when I tried python I missed the curly braces.
cousin_itover 7 years ago
Another year, another chance for all involved to learn the important rationality skill of recognizing sunk costs and opportunity costs, and give up when giving up is the best option.<p><a href="http:&#x2F;&#x2F;lesswrong.com&#x2F;lw&#x2F;gx&#x2F;just_lose_hope_already&#x2F;" rel="nofollow">http:&#x2F;&#x2F;lesswrong.com&#x2F;lw&#x2F;gx&#x2F;just_lose_hope_already&#x2F;</a>
评论 #16214502 未加载
评论 #16213032 未加载
vgy7ujmover 7 years ago
I hope that the Perl 6 core devs take notice of this and other threads from the past days. Somehow I think that the efforts have not been directed enough at things that perhaps are not that exciting for them but that matters a lot for potential users.<p>Examples:<p><pre><code> - Better migration&#x2F;transition from Perl 5 - Performance and stability - Killer features and explaining these thoroughly - Best in class tooling, editor support, super easy deployment </code></pre> I am sure there are efforts, but perhaps not enough to meet the demands?<p>I say this of course realizing that resources in an open source project are limited. But something has to happen to accelerate the usage.<p>Keep on writing more articles etc to spread information outside the P6 core dev echo chamber.
评论 #16221264 未加载
评论 #16219868 未加载
评论 #16218569 未加载
steschover 7 years ago
I&#x27;m still wondering why they use non ASCII characters for operators.
评论 #16212501 未加载
评论 #16213212 未加载
评论 #16212604 未加载
systemsover 7 years ago
how would one describe Perl 6 type system?<p>Is it dynamically typed, optionally typed, statically typed?
评论 #16214259 未加载
评论 #16213911 未加载
评论 #16214518 未加载
sunsebover 7 years ago
Is Perl 6 sill so damn slow?
评论 #16212515 未加载
评论 #16221389 未加载
baybal2over 7 years ago
I used perl when dinosaurs still roamed the land. Can somebody explain why it took so long for Perl 6? I read first p6&#x2F;parrot vm textbook as a schoolboy more than a decade ago.
评论 #16212634 未加载
评论 #16213658 未加载
评论 #16215845 未加载
qaqover 7 years ago
Main source of optimism for Perl is Booking.com using it :0
评论 #16214271 未加载
评论 #16213552 未加载
sceleratover 7 years ago
Would people feel differently (lots of talk in here along the lines of &quot;why bother at this point?&quot;) if Perl 6 had a completely different name?
bigbluedotsover 7 years ago
Is anybody here using perl 6 in production at the moment? Or perl 5 for that matter?
评论 #16213525 未加载
评论 #16213288 未加载
评论 #16215316 未加载
评论 #16214109 未加载
评论 #16215362 未加载
评论 #16214925 未加载
评论 #16215228 未加载
评论 #16213603 未加载
评论 #16214688 未加载
shagieover 7 years ago
My first programming job was perl back in &#x27;97 for the LAMP stack. There was a lot of neat things that I did with it back then... and clever too. I remember writing a neat Tie::Array that was backed by a database... and then undoing it because it was too clever and not something that was maintainable.<p>The last time I touched perl professionally was in &#x27;09 during the perl winter. The web stack was moving in other directions - especially that of Java (I&#x27;m a corporate back end line of business keep the gears of the company turning type). I write boring code - which is good. Boring code doesn&#x27;t surprise people and when I pull it up from 10 years ago, it still works. I try to avoid clever code now - it takes too long to get back into the mindset that I had when I wrote it. I&#x27;ll admit to one bit of clever code with annotations on an enum that I&#x27;ve written in the past half decade... and that is in place to force what would be runtime errors to be compile time errors instead.<p>I looked at perl 6... there&#x27;s even a bug report with my name on it ( <a href="https:&#x2F;&#x2F;github.com&#x2F;rakudo&#x2F;rakudo&#x2F;commit&#x2F;8d04bec" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rakudo&#x2F;rakudo&#x2F;commit&#x2F;8d04bec</a> ). I really want to like the language - it makes me think about some things differently... and here&#x27;s the &quot;but&quot;. But it all feels too clever. Code needs to be reasonable - something that I can come back to later and pick up again and continue on with minimal switching of the mind. Unicode operators, Junctions (as neat as they are), redefining operators... its letting me and <i>encouraging</i> me to write clever code.<p>I pull up the docs and see things from <a href="https:&#x2F;&#x2F;docs.perl6.org&#x2F;language&#x2F;operators" rel="nofollow">https:&#x2F;&#x2F;docs.perl6.org&#x2F;language&#x2F;operators</a> that make me wonder if its gone too far. There&#x27;s more than one way to do it... but there are more of them than Java 8&#x27;s list ( <a href="https:&#x2F;&#x2F;docs.oracle.com&#x2F;javase&#x2F;specs&#x2F;jls&#x2F;se8&#x2F;html&#x2F;jls-15.html" rel="nofollow">https:&#x2F;&#x2F;docs.oracle.com&#x2F;javase&#x2F;specs&#x2F;jls&#x2F;se8&#x2F;html&#x2F;jls-15.htm...</a> ). I feel that there&#x27;s more than one way is &quot;more than one approach&quot; not &quot;more than one way to type &#x27;+&#x27;&quot;.<p>The code just doesn&#x27;t feel reasonable anymore.<p>For what its worth, after not touching perl professional since &#x27;09, this past week I was called on to fix a LAMP stack. There&#x27;s the CGI with a nice &#x27;use CGI.pm&#x27; (the last change time on the file was from 2011). I was able to open it up, read it, debug it, and fix it in under an hour. It was straight forward, sensible, and reasonable code. I shutter to think what it will be like in another decade if someone comes by and asks someone to debug some 10 year old perl6 code and they open it up to find unicode scattered through it and trying to remember what =~= or ∘ does.<p>For my scripting needs now... I&#x27;ve been a Java coder for the past decade. When I want a script I&#x27;m more likely to fire up groovy. It runs, its stable, and it doesn&#x27;t try to make me write clever code.<p>Sorry perl... you&#x27;re just not my go to language for thought to code anymore.. and thinking in perl6 just isn&#x27;t something that I&#x27;ll find myself easily writing once or being able to figure out when coming back to later.