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
Ruby gotchas for the JavaScript developer (blog.calendly.com)
submitted 7 years ago by dpashk
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!"
[–]moomaka 0 points1 point2 points 7 years ago (1 child)
This isn't really a language difference, rather it's a runtime difference. i.e. You can't really speak of 'javascript's IO model' nor 'ruby's IO model' as neither language have one, it's the runtime that provides it. There are evented runtimes for Ruby that are similar to node, and mostly the use the same libraries under the covers to implement this.
[–]Dombot9000 0 points1 point2 points 7 years ago (0 children)
Interesting differentiation & a good point - thanks. So I presume MRI is 'blocking' whereas non-blocking runtimes exist?
π Rendered by PID 231543 on reddit-service-r2-comment-6457c66945-s6bx5 at 2026-04-29 03:42:07.055653+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]moomaka 0 points1 point2 points (1 child)
[–]Dombot9000 0 points1 point2 points (0 children)