Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
raiph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
raiph
5y ago
The author not only included Taylor's (Newton's) but the superior Brother's.
32.
▲
by
raiph
5y ago
Liz suggested `but`, but that creates a new entity with the role mixed in. Instead one can use `does` to mix in to an existing entity: role House {} role Boat {} my \id = 42; id does House; id does Boat; say id
33.
▲
by
raiph
5y ago
Or: [ $_² for 1..5 ]
34.
▲
by
raiph
5y ago
> Weird how almost nothing Patrick talked about in that talk panned out -- no JVM backend ... no JavaScript backend At the time of writing this comment: js Use new nqp::time instead of nqp::time_(i|n) 20 days ago jvm [JVM] Add op 'n
35.
▲
by
raiph
5y ago
> I only really got involved from 2012 onward, so I have no first hand knowledge about that period, except maybe a few weeks I'm in roughly the same boat. I too dipped in and out starting in 2000, and had been reading contemporary d
36.
▲
by
raiph
6y ago
And then there are PLs that adopt the incredibly radical technique of treating 0.2 as two tenths[1]. [1] https://medium.com/@raiph_mellor/fixed-point-is-still-an-app...
37.
▲
by
raiph
6y ago
I'm curious if you're trying to highlight the wisdom or dramatic aspect of the Perl initiative that's the subject of the OP. ---- If you're not intending to highlight either of these things, then I suspect you perhaps ha
38.
▲
by
raiph
6y ago
> Understanding the runes of Perl and the difference between a "$" and a "@" etc are a lot more exotic than "ADD A TO B GIVING C." or "IDENTIFICATION DIVISION." I disagree. "$" is underst
39.
▲
by
raiph
6y ago
> And I waited. And I waited. And I waited. I agree Raku took far, far too long to please those who waited. I'm sad that atweiden talks of Perl being disposable, especially in a thread about its future, and that they imply Raku is
40.
▲
by
raiph
6y ago
> Raku is nice but still slow and not there yet. I agree with that general sentiment in some respects, but: > No nice http framework like Mojolicious for one Cro is still in beta but it's nice and popularly used as an equivalent
41.
▲
by
raiph
6y ago
I hear you feel disappointed, but it is presumably due to someone having misled you due to their misinterpretation of Larry's design. Roast (the Repository Of All Specification Tests) has, for over 20 years in design terms, and 15+ yea
42.
▲
by
raiph
6y ago
That hasn't been true for a while. Within minutes of announcing Raku nearly 21 years ago Larry answered a question about it from the audience[1]: > Question: Will Raku have specs ...? > Larry: ... develop the real regression test
43.
▲
by
raiph
6y ago
Fwiw Raku does have an attempt at a smooth gradual transition, and in some regards it's a remarkable success.[1] That said, its approach is profoundly unlike the v7 strategy. My take on v7 is that it boils down to: * Pulling off such a
44.
▲
by
raiph
6y ago
> Raku and Perl remain incompatible so e.g. the existing large Perl ecosystem can't be leveraged from Raku. Au contraire, they remain compatible along the lines shown in this example from a StackOverflow answer[1]: use Text:
45.
▲
by
raiph
6y ago
As Jon Orwant (supposedly) said in 2000 (quoting from the article you linked): > we are fucked unless we can come up with something that will excite the community, because everyone's getting bored and going off and doing other thing
46.
▲
by
raiph
6y ago
My view: The first version of PCRE was released in 1997, first Perl that supported PCRE in 2009. Claiming PCRE is "a legacy of Perl" is like saying C is a legacy of C#. Calling a2p "aggressive" because it did a surprisin
47.
▲
by
raiph
6y ago
Search of reddit/r/dataisbeautiful for "programming languages": https://camas.github.io/reddit-search/#{%22subreddit%22:%22d...
48.
▲
by
raiph
6y ago
> Raku ... lacks widespread adoption Right. It clearly doesn't have a strong enough offering at the moment to attract anyone beyond a few early adopters. > last I heard it fell significantly short of Perl 5 performance Likewise.
49.
▲
by
raiph
6y ago
> "East coast" and "West coast" languages I don't know about the blog but afaik the notion arose from "Worse is better".[0] [0] https://en.wikipedia.org/wiki/Worse_is_better
50.
▲
by
raiph
6y ago
Fwiw I agree with both you and Liz. As Larry put it the day he announced it:[1] > It is our belief that if Perl culture is designed right, Perl will be able to evolve into the language we need 20 years from now. It’s also our belief that
51.
▲
by
raiph
6y ago
Looks deceive. :)
52.
▲
by
raiph
6y ago
(Edited to fix footnotes) > blocks the current thread of execution That's a green thread.[1] To quote Wikipedia[2]: > a thread of execution is the smallest sequence of programmed instructions that can be managed independently b
53.
▲
by
raiph
6y ago
> Why don't all languages just do it like that? I think the main problem has been that it requires building an appropriate concurrency design into the foundation of a language. For most PLs, concurrency is somewhat of an afterthough
54.
▲
by
raiph
6y ago
Then just write it as `f(5, 6);`. That works too. Tail nesting doesn't need parens, but otherwise you're right, use parens to nest. As for reading code, rest assured that "buy food" rather than "buy(food)" is s
55.
▲
by
raiph
6y ago
I don't know much about Perl but am aware of Tau Station, which was launched a few months ago. I recall reading somewhere that it includes a new Perl codebase with approaching a million lines of well written modern code.[0] Raku is a d
56.
▲
by
raiph
6y ago
It's core concept cake (like a "concrete turing machine model" counterpart to lisp 1.5's half page of lambda calculus definition) combined with the mutable braid of mutable PLs icing.[0] [0] https://gist.githu
57.
▲
by
raiph
6y ago
I was taught in school that `0.1` is rational. Afaik it isn't in any lisps. I think that's the point the GP was making. That said, while making `0.1 + 0.2 - 0.3` come out as exactly zero, with a clean and principled way to avoid t
58.
▲
by
raiph
6y ago
I don't know why you got downvoted. Then again, I'm not quite sure what you meant by "await is a partial solution" and "languages that are free to use threads have it best". As far as your quote goes, I'll
59.
▲
by
raiph
6y ago
Imo, while both Perl and Raku are exemplars of extensible PLs in their own ways, Perl's approach is essentially a tower of hacks built on the wrong foundation while Raku's core concept[0] is built to last for decades, if not a cen
60.
▲
by
raiph
6y ago
For single placeholders I prefer the look of either the `_` syntax or the alternative some PLs have of `.`. But otoh, Raku nicely stretches the approach to both zero and multiple placeholders: * The zero placeholder `.methodname` in Raku is
More ›