Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
raiph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
121.
▲
by
raiph
8y ago
> The examples vs Haskell are not helping me understand. Personally I don't think the added verbosity is helping in any way. It doesn't sound to me like you are the right audience for the document you're reading. Quoting f
122.
▲
by
raiph
8y ago
Cons: * Rakudo -- the only P6 compiler for now (and likely many years, maybe forever) -- has a slow startup, around 0.1 seconds or so. * Rakudo is still a work in progress. What's done is pretty solid but, for example, no one has imple
123.
▲
by
raiph
8y ago
> Half of the unicode characters on this page don't render properly for me. That's an issue with the fonts used by your system/browser. It's taken a few decades to reach the point where Unicode is becoming fairly univ
124.
▲
by
raiph
8y ago
You've written precisely what I thought about that...
125.
▲
by
raiph
8y ago
The default rational type isn't unlimited precision. See my comment at https://www.reddit.com/r/perl/comments/93dabg/perl_6_small_s... for an explanation and demonstration of P6's approach.
126.
▲
by
raiph
8y ago
Quoting the blog post this HN article is supposed to be about[1]: PS: You might read this and be reasonably surprised that Rakudo Perl 6 is not, after all this, very fast yet. I have a - not entirely serious - explanation for that: All prob
127.
▲
by
raiph
8y ago
> Perl 5 was abandoned It's all relative. Perl 5 is more active now than at any time in its history. Python has expanded 20x in the last 20 years. So Python has in relative terms eaten Perl's proverbial lunch and overshadows Pe
128.
▲
by
raiph
8y ago
Thanks for the 2017 link. Its NQP that does metacompilation, not MoarVM (afaik). I linked to NQP's (spartan) readme above. Some other points/links that might be helpful: * nqp is written in nqp. * nqp has a first class grammar con
129.
▲
by
raiph
8y ago
Thanks for replying. I think MoarVM/NQP are strikingly similar in their approach based on what I've learned so far about Graal/Truffle (which isn't much; perhaps a few hours of exploration; eg reading/watching the O
130.
▲
by
raiph
8y ago
> "One VM to rule them all" reminds me of Parrot VM (for Perl 6). Looks like development slowed down a year or two ago. The concept lives on in the form of two "new" Perl 6 projects, namely MoarVM (started in 2012; a
131.
▲
by
raiph
8y ago
The Perl 6 Inline::Perl5 automatically maps Perl 5's syntax, object system semantics, exceptions, etc. to Perl 6's so that Perl 6 users don't in principle have to know about Perl 5, just the logical API of any used module
132.
▲
by
raiph
9y ago
I'm surprised there's been no mention in this thread of Brave and/or BAT.[1] Or is my understanding that they're directly relevant a misunderstanding? [1] https://en.wikipedia.org/wiki/Basic_Attentio
133.
▲
by
raiph
9y ago
There have been two such breaks, not one. Perls 1-5 correspond to the first such break. Perl 6 corresponds to the second. If "regular expressions" is taken to refer to formal language theory regular expressions -- which is NOT w
134.
▲
by
raiph
9y ago
I haven't read the parent to this comment. But: > XS [is] exclusive to Perl 5. Perl 5 modules, including XS ones, are `use`able with P6 (`use Module::Using::XS:from<Perl5>; # P6 code...`). > CPAN [is] exclusive to Perl 5. C
135.
▲
by
raiph
9y ago
Stefan Seifert authored or maintains both the P5 and P6 versions of Inline::Python, the Inline::Perl5 for P6 and the Inline::Perl6 for P5. Three of the four are at the first stage. They work in much the same way, using `.run( ... )` to run
136.
▲
by
raiph
9y ago
To begin to transfer P6 grammar/parsing features or techniques to another language you'd have to bundle NQP and one of its backends. Does that sound worthwhile? Also, how would you handle strings in this other language? In P6 and
137.
▲
by
raiph
9y ago
> why is it impossible to call a Perl 5 function in scalar context? Has Stefan (who wrote IP5) said or written that it's impossible? 18 months ago he wrote "So far I've found 3 different ways to implement scalar/list
138.
▲
by
raiph
9y ago
> when Larry anounced Perl 6 ... ... he very clearly emphasized that it was NOT just the next version of Perl, in contrast with his approach with earlier Perls. > This idea that it's a completely different language and has
139.
▲
by
raiph
9y ago
> It's best to admit as soon as it's clear what's happening that you are doing something entirely new Larry said something similar on day one. > and let the old project live out its own lifecycle. Larry did exactly that
140.
▲
by
raiph
9y ago
One of the bigger features of P6 is that it can use modules written in other languages such as python.[1] Are you aware of the compatibility with Perl 5 that I mentioned in my prior comment in this thread? If so, why do you discount it? [1]
141.
▲
by
raiph
9y ago
> Perl 5 and 6 are still tied together as if they are the same language P5 and P6 have been explicitly different languages since day one[1]. As Larry Wall said, "We had to make almost everything [in Perl 5] ... backward compatible [
142.
▲
by
raiph
9y ago
There's a youtube of a 2008 Google talk at https://www.youtube.com/watch?v=JzIWdJVP-wo&list=PLRuESFRW2F... He talks a bit about error messages. I found that by searching for `message` in the transcript generated by
143.
▲
by
raiph
9y ago
If you browse the #perl6-toolchain logs[1] you'll see folk making steady progress toward practical interop of multiple versions of the P6 language (6.c, 6.d, etc.), P6 compilers (Rakudo 2017.07 etc.), and P6 modules on the one hand and
144.
▲
by
raiph
9y ago
Do you consider Haskell to already be extremely successful? (Haskell planning began in 1987, the same year Perl 1 shipped.)
145.
▲
by
raiph
9y ago
Evan did not intend folk to read what he wrote as a definitive testimonial. https://www.reddit.com/r/programming/comments/6thwnx/a_revie...
146.
▲
by
raiph
9y ago
Does https://github.com/MoarVM/MoarVM/search?utf8=%E2%9C%93&q=gra... help?
147.
▲
by
raiph
9y ago
Per the Unicode standard, "grapheme" means "what a user thinks of as a character", i.e. nothing to do with computers, whereas "grapheme clusters" are sequences of codepoints that "approximate" a graph
148.
▲
by
raiph
9y ago
Maybe it'd be fun to hack on https://github.com/raydiak/pray ?
149.
▲
by
raiph
9y ago
Extending Evan's analogy, perhaps trying to explain the joke ruins the joke?
150.
▲
by
raiph
9y ago
Why does Python have other options if no one is using them? Are these other options cruft in the language design, the compiler, or just reasonable support for features intended for other, perhaps infrequent, usage? The old P5 motto TIMTOWTD
More ›