Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lizmat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
lizmat
4y ago
> ... it doesn’t really look original, but more like a polishing of Perl. Sure, Raku has its roots in Perl. But if multiple dispatch is the big thing for Julia, why wouldn't it be for Raku? Other things Raku has that Perl doesn
92.
▲
by
lizmat
4y ago
I guess you could argue that the Raku Programming Language also has its "mini" version, to build the actual language on. In Raku's case, it's called NQP (which used to stand for "Not Quite Perl", but now is ju
93.
▲
by
lizmat
4y ago
>> Perl6\Raku has first class support for BNF grammars built right into the language. > Why would you want that? What benefit is there over having parsers available as library code? Because in Raku, grammars are really classes. So
94.
▲
by
lizmat
4y ago
That is incorrect, for several reasons. If you consider "never-ending development" until the first release, then Perl 6 ended development in 2015 when it was released. If you consider "never-ending development" biologica
95.
▲
by
lizmat
4y ago
That feels to me that you're blaming a poorly implemented editor / IDE for a language feature. If you use ² and ³ a lot in your work, I'm sure you can install a macro / keybinding / whatever to access them quickly.
96.
▲
by
lizmat
4y ago
Thank you for your mention of the Raku Programming Language. If you want to force usage of floating point arithmetic, you will have to indicate that in literal values. E.g. `0.1` would be a [Rat]( https://docs.raku.org/type&
97.
▲
Make the Raku programming language familiar to C++ programmers
(software.gellyfish.co.uk)
64 points
by
lizmat
4y ago
|
30 comments
98.
▲
by
lizmat
4y ago
Well, that's be Raku nowadays! #rakulang https://raku.org :-)
99.
▲
by
lizmat
4y ago
Cool, but I couldn't resist rakufying your "deflate" subroutine: sub deflate($power is copy, $rate, $years) { $power *= 1 + $rate for ^$years; $power * 100 } sub MAIN(:$rate = 0.0225, :$years = 1
100.
▲
by
lizmat
4y ago
Indeed. Perl 6 got renamed to the Raku Programming Language ( https://raku.org #rakulang) and continues to work on a 100 year programming language. If you want to stay up-to-date on developments, you can check out the Rakudo Wee
101.
▲
by
lizmat
4y ago
If you don't care about the exact white spacing, you can simplify the Raku significantly using the :s adverb: m:s/ What is your (name | guest | favorite color) '?' / Especially in natural language parsi
102.
▲
by
lizmat
4y ago
I assume you mean Perl 5 vs Perl 6 ? One could argue that that is exactly what happened in 2008, when the "sister language" meme was introduced. At that time, the Perl Porters basically abandoned all support for Perl 6 and starte
103.
▲
by
lizmat
4y ago
FWIW, Perl 6 was released in 2015, so roughly 15 years after the original announcement.
104.
▲
by
lizmat
4y ago
> Perl 6 was treated as the successor of Perl 5 In 2000, for all intents and purposes, Perl 6 was the successor of Perl 5. And one of the reasons the project was started, was because Perl 5 was already dying at that point. Not only l
105.
▲
Raku and Rust – A Romance?
(p6steve.wordpress.com)
2 points
by
lizmat
4y ago
|
0 comments
106.
▲
by
lizmat
4y ago
If you gave up on it, why still keep saying it is slow, when you have no current information about that? Also, when you're talking slow: why is it that any performant Perl module, actually has most of its logic written in XS (aka C)?
107.
▲
by
lizmat
4y ago
> Raku is too slow for no obvious reason I wonder when it was the last time you tried Raku. Or compared it to a Perl script with Moose. > plus every lib has to be rewritten from scratch, including the good and mature ones from Perl.
108.
▲
by
lizmat
4y ago
Indeed it was. But no more. The Perl community has decided to make many of the mistakes again. It is very frustrating.
109.
▲
by
lizmat
4y ago
perl 11 is dead. It was never much more than a mirage by a few people outside of the Perl community. It was definitely not something supported by what is now the Raku community.
110.
▲
Raku developers Manifest against War in Ukraine
(github.com)
2 points
by
lizmat
5y ago
|
0 comments
111.
▲
by
lizmat
5y ago
The operator is called "smart-match". When you do: $a ~~ $b You are in fact doing: $b.ACCEPTS($a) So any object can determine how it will interpret any other object in smart-matching. The core classes or course
112.
▲
by
lizmat
5y ago
A small, but growing community, I'd say :-)
113.
▲
by
lizmat
5y ago
You might want to have a look at the Raku Programming Language ( https://raku.org ). It doesn't parallelize automatically, but only if you hint at it being ok, or if you are explicit (in this case using the `.hyper` method):
114.
▲
Introduction to data wrangling with Raku – Anton Antonov
(rakuforprediction.wordpress.com)
2 points
by
lizmat
5y ago
|
0 comments
115.
▲
by
lizmat
5y ago
Well, in a way this is funny. As far as I can see, that example is taken from the page describing the differences between Perl and Raku ( https://docs.raku.org/language/5to6-nutshell#CPAN ), and how you can use Perl i
116.
▲
by
lizmat
5y ago
Well, the answer is always "no" if you don't ask :-)
117.
▲
by
lizmat
5y ago
FWIW, the Raku Programming Language nowadays *DOES* offer a valid migration path in the form of the Inline::Perl5 ( https://raku.land/cpan:NINE/Inline::Perl5 ) module. This basically allows you to use all of CPAN that d
118.
▲
by
lizmat
5y ago
Or more generically: [+] 1..10 You can use any infix op (core or custom) to do a reduction: [*] 1..10 # 3628800 basically faculty
119.
▲
Future-Proofing the Raku Programming Language
(raku-advent.blog)
2 points
by
lizmat
5y ago
|
0 comments
120.
▲
by
lizmat
5y ago
Thank you for asking. Focussing on the Raku Programming Language, being a member of the Raku Steering Council, writing a weekly blog post ( https://rakudoweekly.blog/blog-feed/ ), writing blog posts for the Raku Advent C
More ›