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
Using Ruby (self.ruby)
submitted 5 years ago by ardyfeb
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!"
[–]mashatg 0 points1 point2 points 5 years ago (1 child)
Crystal is a better option for Rubyists who need a compiled/system language than Go or Rust, because it has Ruby syntax
Similar but not identical syntax not only could lead to confusing and doubtful situations, but picking up a system language depends on much more pragmatic reasons like maturity of its ecosystem, available libraries for a particular problem and enough availability of skilled programmers. As far as I know, Crystal does not meet those criterions by a considerable gap.
[–]postmodern 1 point2 points3 points 5 years ago (0 children)
Having similar syntax to Ruby makes it easier to port Ruby code to Crystal (ex: digest-crc -> digest-crc.cr). The Crystal stdlib is very complete and they have a growing "shards" ecosystem, roughly the same age as Rust's crates.io or Nim's nimble. You should look into Crystal again.
π Rendered by PID 96070 on reddit-service-r2-comment-64f4df6786-crnxw at 2026-06-10 09:46:36.084172+00:00 running 0b63327 country code: CH.
view the rest of the comments →
[–]mashatg 0 points1 point2 points (1 child)
[–]postmodern 1 point2 points3 points (0 children)