talira

A Programmer's Best Friend

open sourceRuby OR BSD-2-Clausefree

Ruby is a dynamically typed, object-oriented scripting language created by Yukihiro Matsumoto in 1995, built so that everything is an object and blocks (closures) make code read naturally. This listing covers its reference implementation, CRuby (also called MRI), an interpreter with a mark-and-sweep garbage collector and the YJIT and ZJIT just-in-time compilers. Libraries are published as gems on RubyGems.org, and frameworks such as Ruby on Rails are written in it. Other implementations include Fullstaq Ruby, a server-optimised build of CRuby.

Libraries for Ruby

View 40 more

Browse all of them: 124 libraries, 19 frameworks, 117 APIs.

Problems it solves

  • a language that's pleasant to read and write so my small team can ship a web app fast
  • write scripts to automate text processing and file chores without fighting the syntax
  • which language should I use for a database-backed web app where developer productivity matters more than raw speed
  • build a domain-specific language for configuration or tests that reads like plain English
  • a dynamic language where I can add methods to existing classes and metaprogram
  • prototype a backend quickly with a huge collection of ready-made libraries
  • an expressive scripting language with blocks and iterators instead of manual loops

Features

  • everything is an object
  • blocks and closures
  • mixins through modules
  • mark-and-sweep garbage collector
  • YJIT and ZJIT just-in-time compilers
  • C extension API
  • OS-independent threading
  • exception handling

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Ruby does.

  1. Crystal A language for humans and computers
  2. Perl The Perl Programming Language

Compare Ruby with the top 3