Live data from Hacker News

Twitter survives election after Ruby-to-JVM move

theregister.co.uk

11–20 of 179 posts

Re: Twitter survives election after Ruby-to-JVM move

#11
post #9

Twitter's better performance is because of a better architecture than Java language. Further, the performance is from JVM, so you can use any of the JVM language including JRuby to get similar effects. This articles seems more like link-bait to me.

I agree. I think I could write a scalable Twitter in mostly Ruby. And I've never written a line of Ruby in my life.

Re: Twitter survives election after Ruby-to-JVM move

#12

Would have been nice if the title was "Twitter survives election after Ruby-to-Scala move", since that's what actually happened. (They do use a bit of regular Java, but the majority of the core code is Scala, and it's Scala that should be getting the top line credit here, not Java.)

No. It is the JVM that should be getting the credit.

Re: Twitter survives election after Ruby-to-JVM move

#13
post #4

> None of this will be welcome news to the army of fanatical Ruby developers who believe the language's syntax, its high developer productivity, and its overall philosophy far outweigh any performance disadvantage it might have compared to other languages. I'm a relative newbie to the Ruby world, but as best I can tell, the Ruby and Rails communities both accepted long ago that they weren't made for Twitter levels of…

Yeah, that line feels like lazy reporting to me. Any involvement at any in the Ruby community over the past few years and they would know that very few Ruby developers are concerned about the performance issues past a certain scale.

Seems like a no brainer that something that is a lot more strict and static will outperform something that has to deal with many more possibilities at runtime.

Re: Twitter survives election after Ruby-to-JVM move

#14

Would have been nice if the title was "Twitter survives election after Ruby-to-Scala move", since that's what actually happened. (They do use a bit of regular Java, but the majority of the core code is Scala, and it's Scala that should be getting the top line credit here, not Java.)

No. It is the JVM that should be getting the credit.

Magnetised needles and steady hands.

Re: Twitter survives election after Ruby-to-JVM move

#15
post #8

It's interesting that when it comes time to scale to serve enormous loads, you have to be willing to change fundamental parts of your stack which you've made a huge investment in. Ruby holds up well enough on the majority of the sites that use it, but when you have traffic the size that Twitter does, it's just not good enough. And it turns out that Java provides a nice tradeoff with high performance and high-level co…

Facebook also has many more features, which probably means more code, which probably means larger switching costs. Take anything: photos, privacy logic, news feed, etc., and Facebook has the more sophisticated feature set.

Re: Twitter survives election after Ruby-to-JVM move

#16
post #9

Twitter's better performance is because of a better architecture than Java language. Further, the performance is from JVM, so you can use any of the JVM language including JRuby to get similar effects. This articles seems more like link-bait to me.

I don't think so. Java outperforms JRuby, probably because of typing. See: http://shootout.alioth.debian.org/u64q/benchmark.php?test=al...

Re: Twitter survives election after Ruby-to-JVM move

#17

This move marks the beginning of the end of a four year long effort for Twitter to rid themselves of Ruby. History will remember the entire Ruby industry as a series of compounding failures. The de facto formalisation and specifications. The black-box behaviour of core development. The broken-linked, un-versioned docs. The rampant cargo-cult mentality. The arcane exceptions. The meta-frameworks. Gem hell. 1.9/2.0 Rai…

I'm not a Ruby developer, but I still can't help thinking, "WTF".

No technology stack is perfect, but I've yet to meet a stack that was pure evil. There may be some cargo-cult personalities in the Ruby community, but, if there is, it's only because there is value in it.

An infinitesimal number of sites have to deal with Twitter's scale problems. The rest can work on getting crap done instead of worrying about Maseratti problems.

Re: Twitter survives election after Ruby-to-JVM move

#18
post #9

Twitter's better performance is because of a better architecture than Java language. Further, the performance is from JVM, so you can use any of the JVM language including JRuby to get similar effects. This articles seems more like link-bait to me.

I agree. I think I could write a scalable Twitter in mostly Ruby. And I've never written a line of Ruby in my life.

[deleted]

Re: Twitter survives election after Ruby-to-JVM move

#19

This move marks the beginning of the end of a four year long effort for Twitter to rid themselves of Ruby. History will remember the entire Ruby industry as a series of compounding failures. The de facto formalisation and specifications. The black-box behaviour of core development. The broken-linked, un-versioned docs. The rampant cargo-cult mentality. The arcane exceptions. The meta-frameworks. Gem hell. 1.9/2.0 Rai…

I call bullshit. This doesn't spell the end of anything. Ruby isn't the right tool for the job and hasn't been at Twitter for a while. This is old news. Ruby has a place in a lot of other scenarios.

Re: Twitter survives election after Ruby-to-JVM move

#20

This move marks the beginning of the end of a four year long effort for Twitter to rid themselves of Ruby. History will remember the entire Ruby industry as a series of compounding failures. The de facto formalisation and specifications. The black-box behaviour of core development. The broken-linked, un-versioned docs. The rampant cargo-cult mentality. The arcane exceptions. The meta-frameworks. Gem hell. 1.9/2.0 Rai…

> History will remember the entire Ruby industry as a series of compounding failures.

This is a bit dramatic. Despite its faults, the language and community around it have been quite a success story. It's had a huge and positive influence on the web development world.

Post reply on HN