News for hackers. Stuff that matters.
Re:Where does Ruby go from here? by eik3_de on Thursday September 04, 2014 @11:29AM (#8268812)
> But we have technology needs that aren’t going to always be well served by Ruby

What are some examples?

I'll start with heavy number crunching (Go/C) and browser-based apps (JS)

Re:Where does Ruby go from here? by gphil on Thursday September 04, 2014 @11:45AM (#8268910)
Concurrency (Clojure, Erlang)
Re:Where does Ruby go from here? by MoOmer on Thursday September 04, 2014 @12:03PM (#8269018)
Not MRI, but JRuby + http://akka.io/

There are also some great gems like Celluloid to help. That said, it's not the same as built-in concurrency.

Re:Where does Ruby go from here? by scottefein12 on Thursday September 04, 2014 @11:49AM (#8268932)
If you need a lightening fast API, anecdotal evidence suggests you just can't get it down to the speeds you see with Go. Rack/Ruby just isn't going to cut it.
Re:Where does Ruby go from here? by programminggeek on Thursday September 04, 2014 @12:32PM (#8269198)
You can get close if you don't use Rails. Seriously, Cuba + JRuby + Torquebox 4 is fast, nearly as fast as Go.

http://madebymarket.com/blog/dev/ruby-web-benchmark-report.h...

Re:Where does Ruby go from here? by jshen on Thursday September 04, 2014 @12:53PM (#8269325)
I'm sorry, a hello world benchmark is meaningless.
Re:Where does Ruby go from here? by MrBra on Saturday September 06, 2014 @01:30AM (#8277617)
For concurrency-testing-alone it might be not. If it works good at it, then it's a good indication that the concurrency model implemented in the language is not flawed and if there is a problem, then it might be somewhere else in the language.

So that benchmark it's still valuable information in the sense that tells you that that particular language running on that particular runtime its not intrinsically bad at concurrency.

In this particular case (JRuby) moreover, the language gets its concurrency layer thanks to Java, so I'd go really easy with that, unless you really want to say that Java is bad at concurrency or that this is not known and thus a "Hello World" example would not show it.

Which are both wrongly proven statements.

Nonetheless I must admit though that some of those combinations of runtime/server/frameworks are admittedly unstable to replicate or to work with in a real scenario.

Re:Where does Ruby go from here? by mahmoudimus on Thursday September 04, 2014 @01:31PM (#8269521)
I understand the Go hype, but what kind of "heavy number crunching" have you traditionally done with Go?
Re:Where does Ruby go from here? by chimeracoder on Thursday September 04, 2014 @01:00PM (#8269369)
> I'll start with heavy number crunching (Go/C) and browser-based apps (JS)

Be careful to distinguish between the language and a particular implementation or runtime environment.

Go, for example, runs perfectly well in the browser[0] except for channels (which are very difficult to implement reliably given the Javascript concurrency model).

If Google decided to allow Go as a language for manipulating the DOM in Chrome, there's no reason that it couldn't serve this role equally well. (This is what Google has done with Dart, so they're unlikely to do it with Go, but this is simply illustrative).

[0] https://github.com/gopherjs/gopherjs