Elixir and Ruby Comparison
elixir-examples.github.io
Elixir and Ruby Comparison
1–5 of 5 posts
Re: Elixir and Ruby Comparison
#2When run on JRuby, threads also offer parallelism.
Re: Elixir and Ruby Comparison
#3I 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
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
#4I 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
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
#5Earlier quoted context omitted.
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
So, you're saying threads and coroutines aren't concurrency?