Live data from Hacker News

Larry Wall Unveils Perl 6.0.0

pigdog.org

261–270 of 336 posts

Re: Larry Wall Unveils Perl 6.0.0

#261

Earlier quoted context omitted.

Why?

If you have perl code to maintain and dependcies break, its not easy to use or at all intuitive. You run cpan, it tries to set itself up, 40 minutes later its trying to autoselect the same broken mirror. Is this going to go on forever? Run again. Select repo, it kind of works. Get 6 pages of build output and a broken install. Its one of the first repos, a great idea, its just frustratingly obtuse.

> 40 minutes later its trying to autoselect the same broken mirror

Sounds like you're in a network with particularly misbehaved firewalls. The initial phase of the auto-setup is very fast, since it only checks file paths. The network part might be slow if some part of your network infrastructure messes with connections and cuts them without properly resetting, resulting in super long timeouts.

Not sure what you expect in such a situation.

> a broken install.

No you don't, unless it's an extremely old or shitty library you chose to dep on, since things build, run their tests, and only install when those pass. The 6 pages of output help you identify which tests failed and maybe why. Also, often test failures are simply because you have a system the author didn't write for, which hurts just as much with the other packaging systems.

Re: Larry Wall Unveils Perl 6.0.0

#262
Oh my. I expect the next version of Perl to read my thoughts and to not require any source code from fallible mortals. The jury is still out whether this will produce more bugs than it abolishes. The answer is expected in time for the end of the universe.

Re: Larry Wall Unveils Perl 6.0.0

#263
post #86

I've found these resources helpful for learning Perl 6: http://learnxinyminutes.com/docs/perl6/ is a pretty good intro to Perl 6 if you just want to jump into things. http://www.jnthn.net/papers/2015-spw-perl6-course.pdf is more slowly paced but provides greater detail. Also, the people in #perl6 on Freenode are all awesome and are usually quick to help beginners unless they are in the middle of fixing some crazy bug…

Empty string, array, and hash are falsey? Ruination! This is terrible! Also, types are falsey? What sense does that make?

Re: Larry Wall Unveils Perl 6.0.0

#264

Earlier quoted context omitted.

A couple of other things that haven't been much highlighted: - Perl 6 right now runs very well on two back ends: a custom VM and the JVM. It is spinning up a Javascript back end, I think primarily for NodeJS. - Concrete representations are carefully separated from core semantics, so Perl 6 currently supports native values from C, Perl 5, Python, etc. It should be able to support native arrays as required for high per…

Whatever happened to the ParrotVM? I always thought that it was somehow intrinsically tied up with Perl6.

http://www.modernperlbooks.com/mt/2013/02/goodnight-parrot.h...

https://www.ohloh.net/p/parrot (contributor graph at the bottom)

Re: Larry Wall Unveils Perl 6.0.0

#266
post #196
post #173

Earlier quoted context omitted.

Ah so it's similar to the haskell list comprehension syntax, converted to a point-free form (and with added guessing/defaulting due to the ambiguities therein). [x*2 | x IIRC haskell list comprehensions can't do fib without naming the list so it can refer to itself. OTOH, these perl list comprehensions seems unable to express things that combine values from several lists, eg: [ x*y | x Course, haskell also has a weak…

Fwiw, the Haskell: [ x*y | x could be translated to the Perl 6: [2,4...8] X* [-1,0,1] # (-2 0 2 -4 0 4 -6 0 6 -8 0 8)

Sure, but that perl is not using the ... list comprehension syntax to combine the lists.

Re: Larry Wall Unveils Perl 6.0.0

#267

Earlier quoted context omitted.

I'd love it if there was, I'd love to kick a couple bucks to Randal after hearing he lost his house.

He lost his house? That sucks. Was that related to his felony charges? Like many others here I feel quite an affinity to the Perl community, sad to hear about that.

Nope.

http://web.archive.org/web/2011/http://merlyn.posterous.com/...

Re: Larry Wall Unveils Perl 6.0.0

#269
post #4

I honestly did not expect to see the day Perl 6 gets finished. This must have been one of the most difficult - if not the most difficult - births in the history of programming languages. At work, I have been using Perl 5 increasingly often over the past two years, mainly because handling unicode in Python 2 is not a lot of fun (and I still haven't come around to learning Python 3), and I have rediscovered why I used…

Unfortunately unicode in Python 3 is not necessarily better. See http://lucumr.pocoo.org/2014/5/12/everything-about-unicode/.

Re: Larry Wall Unveils Perl 6.0.0

#270
post #189

Earlier quoted context omitted.

I'm not interested in being condescended to, so

Wut? I just complimented the code you posted, and changed my mind from "the unconstructive guy upthread said trivial, which it isn't, but steve's been kind enough to give me enough information to see it's trivial if I write a port of CMM, and said port is basically identical rather than requiring the crappy alias approach". I've genuinely no idea why you think I was being condescending.

Hey! Just woke up to this. Sorry, it seems as someone else mentioned,

  That's cute, but $FOO.
is seen as really condescending here. It's literally diminutive, suggesting that something might be small and pretty, but not worth adult consideration for Real Stuff.

Anyway, if that's not how you meant it, I completely understand. Text is hard. No harm, no foul. Sorry for misunderstanding.

Post reply on HN