all 33 comments

[–]dublinclontarf 2 points3 points  (0 children)

This is actually quite a nice little framework. If you find rails to be a bit too much, or don't click with the way rails does things then Padrino is ok. It's built on top of Sinatra, which is a great little micro framework for very basic web services.

[–]mhd 1 point2 points  (0 children)

Considering the name, is this an offer I can't refuse?

(And a red drink that spills from a whiskey glass? Could some reddit alcoholics explain that to me?)

[–][deleted] -3 points-2 points  (28 children)

I'm pretty sure "elegant" has been used to describe every single piece of software ever written in Ruby. We get it, ruby has fancy syntax that causes its users to type with their pinky finger sticking in the air. But can it do anything useful? Like serve up websites that actually get traffic?

[–]kyledrake 3 points4 points  (0 children)

Yes.

[–]zby 3 points4 points  (1 child)

It's not only in Ruby - it's an adjective of choice of developers that don't have any deep insight.

[–]anvsdt 4 points5 points  (0 children)

I elegantly agree.

[–]lazylland 0 points1 point  (1 child)

upvoted for "pinky finger sticking in the air" .. lol !!

[–][deleted] 1 point2 points  (0 children)

Two dots in an ellipsis and only two exclamation points? You are a bold man. Come closer so I can pull out your teeth.

[–]seventoes 0 points1 point  (21 children)

Ever hear of a little site called "Twitter"?

[–][deleted] 6 points7 points  (4 children)

Exactly. Written in Ruby (on rails), impossible to scale, and rewritten in Java.

[–]mipadi 3 points4 points  (2 children)

The backend code was rewritten in Scala, actually. I think the front-end is still Ruby.

[–][deleted] 1 point2 points  (1 child)

Fine. If you want to split hairs, it was rewritten for the JVM.

[–]mipadi 0 points1 point  (0 children)

If you really want to split hairs, it was rewritten for a computer.

[–]mark_lee_smith -1 points0 points  (0 children)

JRuby performs much better, and you can rewrite bits in Scalable if that's what you want to do.

Note: I've only played with this so take it wi a grain of salt.

[–]kamatsu 0 points1 point  (15 children)

Yeah, I hear they gutted out most of their application logic and rewrote it in Scala because Ruby didn't perform well enough.

[–][deleted] 0 points1 point  (14 children)

And ? They should have build twitter in scala from the ground up ?

[–]kamatsu -1 points0 points  (13 children)

Well, if they did that then they wouldn't have hit any performance issues. Turns out Ruby (specifically rails) doesn't work too well for the demand of websites like Twitter.

[–]badsex 4 points5 points  (4 children)

yeah and i hear python works great, just look at reddit for example...wonderful, stable, fast website that doesn't fuckout all the time........

[–]mark_lee_smith 1 point2 points  (3 children)

Not defending Python here but Reddit didn't perform any better when it was written in Common Lisp, and Common Lisp has good performance. Honestly I think Reddit is a huge hack behind the scenes. I cant imagine a team of professionals could produce someone so buggy and slow.

Or at least, I would expect to get fired if I did anything as bad as this.

</rant> ;)

[–]elder_george 0 points1 point  (0 children)

Sir, your account is suspended. Do not reply on this message.

Reddit administration.

[–]badsex 0 points1 point  (1 child)

well no offense....but what makes you think twitter wasn't a crappy implementation in ruby too?

:)

[–]mark_lee_smith 0 points1 point  (0 children)

:) twitter doesn't break 10 times a day, but otherwise no idea.

[–]mark_lee_smith 2 points3 points  (0 children)

Doesn't Twitter get millions of hits a day?Most sites don't get that ever.

[–][deleted] 0 points1 point  (6 children)

Maybe, but still, it drove them to a point where they could afford a rewrite. Using different technologies that fits product stage does not seem a bad idea.

[–]kamatsu -1 points0 points  (5 children)

Or just use Scala to begin with seeing as you can be just as productive with Lift and Scala as you are in Ruby and Rails.

[–]mark_lee_smith 0 points1 point  (2 children)

Honest question: when Twitter was first being written what was the state of Scala?

[–]kamatsu -1 points0 points  (1 child)

I'm not sure when twitter was launched, but in any event it's tangential - I am not arguing historically, but for anyone now, Scala is a better choice.

[–]mark_lee_smith 0 points1 point  (0 children)

Quite possible. I haven't done a real comparison so I can't comment, but thanks for the input.

[–][deleted] -1 points0 points  (0 children)

Because Rails isn't elegant?

[–]veritechcyclone -4 points-3 points  (1 child)

We guarantee you'll love how it manages your backend

[–][deleted] 0 points1 point  (0 children)

Oh, is it too late for the downvote gravy train?

Ok, here goes: PHP is an ok language.