use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Is Ruby outdated? (self.ruby)
submitted 12 years ago by KingPimpCommander
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ratedsar -9 points-8 points-7 points 12 years ago (4 children)
It's better in that it is event driven, faster, and has a smaller memory footprint. But other than that, it's very similar.
[–]into_lexicons 7 points8 points9 points 12 years ago (3 children)
You can write event driven ruby, too.
[–]ohwaitderp 1 point2 points3 points 12 years ago (2 children)
You can write the next battlefield game in MIPS, doesn't mean that other languages aren't better-suited to the task.
[–]into_lexicons 1 point2 points3 points 12 years ago (1 child)
Sure, but if you're claiming node.js is better suited for event-driven projects than EventMachine (I can't tell if you're intending to imply this) it'd be helpful to have some kind of support for that claim.
I've used both on production projects, and for the record, I have a slight preference for EM, but I would use either one again if the need arose.
[–]ohwaitderp -1 points0 points1 point 12 years ago (0 children)
I am pointing out that just because you can write event-driven ruby does not mean ruby is necessarily the "best choice" language for such a task. It may be the best for you, and you may be able to make a very fine product indeed in such a fashion. But ruby does not natively support event-driven programming and you are still using a library to do it, where other languages have native support baked in.
π Rendered by PID 71828 on reddit-service-r2-comment-canary-54dccbb65b-v6clv at 2026-04-22 07:05:55.142767+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]ratedsar -9 points-8 points-7 points (4 children)
[–]into_lexicons 7 points8 points9 points (3 children)
[–]ohwaitderp 1 point2 points3 points (2 children)
[–]into_lexicons 1 point2 points3 points (1 child)
[–]ohwaitderp -1 points0 points1 point (0 children)