Live data from Hacker News

Why I’m Learning Perl 6

evanmiller.org

31–40 of 380 posts

Re: Why I’m Learning Perl 6

#31
post #26

On a sidenote > or Nginx or Node.js without the callback cacciatore. What's a cacciatore in this context? It means hunter in Italian. Probably something messy if it means the same as callback hell.

I read it as a short version of chicken cacciatore, which is a dish with an appearance that may look messy.

Re: Why I’m Learning Perl 6

#32
post #5

> Concurrency is hard and if you want M:N thread multiplexing (i.e. WEB SCALE CODE, where application threads aren’t pinned to pthreads) your options today are precisely Erlang, Go, .NET, and Perl 6 Why mention .NET here? Async code in .NET works with a dispatcher thread (-pool) under the hood, which is nothing like the greenish threads that the other systems offer. Am I missing something?

I mean core async in Clojure works the same, would you say it's the same?

It might not be under the hood, but as perceived to the programmer it is?

Re: Why I’m Learning Perl 6

#33
post #5

> Concurrency is hard and if you want M:N thread multiplexing (i.e. WEB SCALE CODE, where application threads aren’t pinned to pthreads) your options today are precisely Erlang, Go, .NET, and Perl 6 Why mention .NET here? Async code in .NET works with a dispatcher thread (-pool) under the hood, which is nothing like the greenish threads that the other systems offer. Am I missing something?

[deleted]

Re: Why I’m Learning Perl 6

#34
post #5

> Concurrency is hard and if you want M:N thread multiplexing (i.e. WEB SCALE CODE, where application threads aren’t pinned to pthreads) your options today are precisely Erlang, Go, .NET, and Perl 6 Why mention .NET here? Async code in .NET works with a dispatcher thread (-pool) under the hood, which is nothing like the greenish threads that the other systems offer. Am I missing something?

[deleted]

Re: Why I’m Learning Perl 6

#35
post #15

why is everybody saying they are put off by Go? Did we pass the "trend" phase and now it's cool to say go sucks?

Go was no-go for me from the get-go (hmm I should probably get better phrases but F it). Its design goals just don't align with my preferences at all.

Re: Why I’m Learning Perl 6

#36
I like writing bash scripts a lot and perl is a natural step-up with powerful libraries to use. As others have said, the major obstacle for me has been the lack of great literature.

Re: Why I’m Learning Perl 6

#37

> Concurrency is hard and if you want M:N thread multiplexing (i.e. WEB SCALE CODE, where application threads aren’t pinned to pthreads) your options today are precisely Erlang, Go, .NET, and Perl 6. Putting aside the "web scale" jokes ( http://www.mongodb-is-web-scale.com/ ), this statement is still absurd. Every major language, or at least the ones that matter for backend development, has support for thread multipl…

I'd like to know why people are downvoting this.

Re: Why I’m Learning Perl 6

#38
post #11

Without a "Major" sponsor, or a "Rails" type killer application, Perl 6, or indeed any language, will struggle to get significant traction. It is of course possible to gain slowly over time, but with numerous languages competing, that path may be a dead-end.

Perl 6 still has to overcome Perl 5, which is everywhere and is a great language. I never get around to using Perl 6 because 5 is already there in every Linux distribution.

Re: Why I’m Learning Perl 6

#39
post #25

Can Perl6 merge all of its generated VM code into one "package"? One of my favourite things about Go is that you can statically compile everything and then deployment basically becomes scp.

...and then deployment basically becomes scp.

And security updates for your deployment become...what?

Re: Why I’m Learning Perl 6

#40

Crystal ( http://crystal-lang.org ) has fibers and channels. Current implementation isn't multi-threaded but it's being worked on. So you'll get that concurrency + nice syntax + types + a wonderful stdlib. EDIT: as seen in other responses, options abound: Python 3, Elixir, D, Dart and more all have built-in concurrency primitives, not to mention that discarding nodejs because of "callback hell" is at this point laugh…

I am really,really excited about Crystal. I wish it success but I am afraid if the rails shops and big companies do not start using it it will be too little too late.
Post reply on HN