ruby logo

ruby

The Ruby Programming Language [mirror] (by ruby)

Stats

Basic ruby repo stats
6
18,064
10.0
about 24 hours ago

ruby/ruby is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

Ruby Alternatives

Similar projects and alternatives to ruby
  • GitHub repo advent-of-code

    My solutions for Advent of Code (by AlexAegis)

  • GitHub repo aoc2020

    Advent of Code 2020 - my answers

  • GitHub repo aoc-2020

    My solutions for https://adventofcode.com (by ScottBailey)

  • GitHub repo Concurrent Ruby

    Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.

  • GitHub repo libev_scheduler

    A libev-based fiber scheduler for Ruby 3.0

  • GitHub repo adventofcode

  • GitHub repo Advent_of_Code_in_Pascal

    My solutions to the Advent of Code, in Free Pascal

  • GitHub repo aoc-2020

    Advent of Code 2020 (by aldanor)

  • GitHub repo aoc2020

  • GitHub repo ruby3-tcp-server-mini-benchmark

    ruby3-tcp-server-mini-benchmark

  • GitHub repo cpython

    The Python programming language

  • GitHub repo Sequel

    Sequel: The Database Toolkit for Ruby

  • GitHub repo Polyphony

    Fine-grained concurrency for Ruby

  • GitHub repo AoC

    my personal repo for the advent of code yearly challenge (by Fadi88)

  • GitHub repo Advent-of-Code

    C# solutions for Advent of Code puzzles (by DjolenceTipic)

  • GitHub repo advent-of-code-2020

  • GitHub repo AoC2020

    Advent Of Code 2020 (by ShaoshiZ)

  • GitHub repo advent-of-code-2020

    My solutions for Advent of Code 2020 tasks (by Jozkings)

  • GitHub repo aoc-2020

    My solutions to Advent of Code 2020. (by Fryer)

  • GitHub repo advent-of-code-2020

    Done in boring old python (by npc-strider)

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better ruby alternative or higher similarity.

Posts

Posts where ruby has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-09.
  • How does ruby understand arithmetic operations like (1 + 2) ?
    reddit.com/r/ruby | 2021-04-09
    call_bin_op at parse.y:11015 uses NEW_OPCALL at node.h:352 to make the node for a method call. There's some code in compile.c to compile NEW_OPCALL, but I can't understand it yet.
    reddit.com/r/ruby | 2021-04-09
  • Why is the Ruby Array API implemented in C?
    reddit.com/r/ruby | 2021-04-07
  • Ruby 3.0 in production? Any tips, feedback?
    reddit.com/r/ruby | 2021-03-22
    There is a bunch of relatively nasty bugs in 3.0.0-p0 (segfaults mostly), most of them have been fixed and backported into the ruby_3_0 branch (diff here) and will be shipped as 3.0.1.
  • Perfect ALARM Mk2: Installation Part 4
    Vim does have a couple of optional dependencies that are useful. We've already installed Python, Lua, and Perl. Let's take care of Ruby and Tcl.
  • Learn about Ractors and build a mini sidekiq
    dev.to | 2021-03-10
    Ruby 3.0 introduced the Ractor class. This is Ruby's Actor-like concurrent abstraction, and its goal is to provide a parallel execution feature of Ruby without thread-safety concerns.
  • This is going to sound like a stupid question, but does anyone know of a site or something that shows what the different keywords in Ruby mean?
    The literal answer is https://github.com/ruby/ruby/blob/master/doc/keywords.rdoc.
  • Ruby — Part 0
    dev.to | 2021-02-26
  • What is the current state of event driven programming with fibers in ruby?
    reddit.com/r/ruby | 2021-02-22
    Samuel, I've just taken a look at the io.c code, which interacts with the scheduler interface, to verify whether I'm wrong or not. And now I see that in fact you have added read and write hooks that were merged into Ruby master about two weeks ago, so I stand corrected.
  • Writing Bash Scripts that are not only Bash: Checking for Bashisms and testing with Dash
    dev.to | 2021-02-21
    If your system has Python, Ruby, NodeJS, or other favorite language, might that be a more robust, flexible, and consistent option? Even in circumstances (embedded systems) in which those runtimes would be too bulky, perhaps remote scripting from another machine is in order. For instance, one could use Python to SSH to the remote machine, gain the information necessary, perform some logic, then send the appropriate commands back, without Python being necessary on the target machine.
  • Ruby Underscore
    dev.to | 2021-02-19
    Ruby explicitly allows duplicate parameter names when they’re made of underscore _.
  • Ruby Garbage Collection Deep Dive: Tri-Color Mark and Sweep
    news.ycombinator.com | 2021-02-18
    MRI implements a write barrier. You can check out the write barrier implementation here:

      https://github.com/ruby/ruby/blob/7bd93293621b85a87e7e117317612bb0a84efb7a/gc.c#L7802
    news.ycombinator.com | 2021-02-18
    RVALUE is the base type in Ruby's heap. It refers specifically to [this struct](https://github.com/ruby/ruby/blob/7bd93293621b85a87e7e117317...). All Ruby objects are instances of an RVALUE struct.

    Hope that helps!

  • Question about wrapping instance vars in attr_reader
    reddit.com/r/ruby | 2021-02-16
    And a fun fact for Ruby is that it provides special method types for attribute accessor methods https://github.com/ruby/ruby/blob/48b94b791997881929c739c64f95ac30f3fd0bb9/method.h#L113, the goal is to make ruby programs run faster (src: Pat Shaughnessy's Ruby under a microscope)
  • How CRuby decides an `if` is a modifier
    dev.to | 2021-02-06
    By grepping modifier_if, you will find lex.c.blt has a table of keywords in the function rb_reserved_word.