News for hackers. Stuff that matters.
Re:Elixir and Ruby Comparison by sciurus on Friday March 04, 2016 @07:46PM (#11227840)
I stopped reading it after it said concurrency in Ruby was "N/A". That's a silly statement for a language that has threads and coroutines built in, as well as a number of event loop and actor libraries.

When run on JRuby, threads also offer parallelism.

http://ruby-doc.org/core-2.2.0/Thread.html

http://ruby-doc.org/core-2.2.0/Fiber.html

Re:Elixir and Ruby Comparison by bjfish on Friday March 04, 2016 @08:20PM (#11227949)
Hello, post author here. What I mean by "N/A" here is "Not Applicable" as in Ruby was not designed for concurrency. I didn't mean to say that it is "Not Available" or not possible. I also was only describing language features without considering libraries.

Even JRuby's first recommendation for concurrency is "don't do it": https://github.com/jruby/jruby/wiki/Concurrency-in-jruby

Re:Elixir and Ruby Comparison by sciurus on Friday March 04, 2016 @10:15PM (#11228259)
So, you're saying threads and coroutines aren't concurrency?
Re:Elixir and Ruby Comparison by weatherlight on Monday March 07, 2016 @02:46PM (#11241090)
I'm pretty sure Matz is still working at re-architecting the Ruby global interpreter lock (GIL) for genuine concurrency. JRuby and Rubinius are alternative Implementations of ruby that do support Concurrency, but they are just that, alternative Implementations.