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.

Raku vs. Perl

130 pointsby lizmatabout 5 years ago

9 comments

codesectionsabout 5 years ago
&gt; by getting the whole parser onto a single screen, I find that I can get the whole problem into my brain’s working memory and avoid burning cycles scrolling up and down to pin down butterflies bugs.<p>This is an excellent point, and one that not enough programmers pay attention to (well, outside of the APL family of languages, anyway!)
评论 #22907899 未加载
评论 #22907823 未加载
评论 #22910871 未加载
qalmakkaabout 5 years ago
The main issue I have with swapping Perl with Raku is that a major strength of Perl is its ubiquitousness. Except on Windows, it&#x27;s almost certainly installed on 90% of the systems I have ever used. Meanwhile, rakudo is not even in the repositories of most distributions. It&#x27;s not very encouraging, if I have to be honest.
评论 #22910669 未加载
wodenokotoabout 5 years ago
Can someone give a little more background why a unit conversion library needs a parser?<p>Like an ELI5 for someone not into neither Perl or Raku and haven’t met the units library before.
评论 #22999259 未加载
评论 #22907606 未加载
hestefiskabout 5 years ago
Out of interest: anyone in here using Perl 6 &#x2F; Raku for anything in production?
评论 #22909381 未加载
xupybdabout 5 years ago
So is Perl never going to go past version 5 now?
评论 #22907166 未加载
评论 #22907232 未加载
评论 #22908501 未加载
评论 #22907169 未加载
评论 #22908329 未加载
bmn__about 5 years ago
&gt; Yes – a recursive descent parser written from scratch in perl5 – pay dirt!<p>What made the author write this in the first place? He could use one of the many many parsing libraries, and then at least the comparison with Raku grammars would be honest and fair.
评论 #22908285 未加载
评论 #22909801 未加载
earthboundkidabout 5 years ago
ISTM that a grammar parser is a library feature, not a language feature, per se. Any reason you couldn’t port the parser back to Perl 5 and get a similar savings in line count?
评论 #22909373 未加载
评论 #22910005 未加载
ZhuanXiaabout 5 years ago
Not a Perl guy. What are the semicolons in that if statement all about?
评论 #22907640 未加载
评论 #22907572 未加载
评论 #22910105 未加载
zerrabout 5 years ago
Perl 6 name maybe was a bad choice back then, but we all got used to it - there was no need changing it nowadays.
评论 #22906931 未加载
评论 #22907272 未加载