MRuby

Lightweight Ruby (by mruby)

MRuby Alternatives

Similar projects and alternatives to MRuby

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better MRuby alternative or higher similarity.

MRuby reviews and mentions

Posts with mentions or reviews of MRuby. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-25.
  • mruby 3.2.0
    9 projects | news.ycombinator.com | 25 Feb 2023
    not an exhaustive list but https://github.com/mruby/mruby/issues/3962 has a few examples. some neat uses though
  • Sending Emails with Ruby
    2 projects | dev.to | 11 Apr 2022
    From our experience, the use of that option in a regular web app is uncommon. However, sending emails via Net::SMTP could be a fit if you use mruby (a lightweight implementation of the Ruby language) on some IoT device. Also, it will do if used in serverless computing, for example, AWS Lambda. Check out this script example first and then we’ll go through it in detail.
  • Ruby Packer: distribute your Ruby code as a compiled binary
    4 projects | news.ycombinator.com | 20 Sep 2021
    It's more on the embedded end of the spectrum, but https://github.com/mruby/mruby is another option in compiling ruby code and c extensions down to a single binary.
  • Ruby 3, Concurrency and the Ecosystem
    1 project | news.ycombinator.com | 9 Jan 2021
    They downplayed the actual amount of time that went into these changes and the upcoming changes. Here's the history:

    Matz[1] released the first version of Ruby in Dec 1995.

    DHH was a major player in getting Ruby into the global spotlight with Rails[2] in 2004. Rails got very popular as a framework for developing new applications, with Basecamp being novel, showing that it could work well and introducing people to REST, in a flexible interpretation, as well as ActiveRecord, whose ease of use and migrations became a model for modern web development.

    Rails v3 divided the community, specifically around how and what Rails would support for the server and request-handling. This hinted at problems to come, but Rails was still strong, and many took it with a grain of salt and upgraded.

    However, Twitter, which had been built on Rails became popular, and the "fail whale" emerged as they were unable to handle all of the requests. This was not a problem with scaling Rails, but with them knowing how they could scale Rails without much greater expense, but since they had to rewrite things and there was pressure to get scaling done right, they switched to Scala and Java, since Scala was functional and fast, and there was a lot of support for the JVM. Functional programming had already been making a comeback in popularity in the 2000s, because it often required a lower memory footprint and was fast. But, at that point in time, many teams and developers were looking into it.

    Though it wasn't the first time he'd done optimization, in 2012, Matz released mruby[1][3], an embedded Ruby.

    Around the same time, with functional programming having been cool, Elixir was born and some of the Rails community left for writing Ruby/Rails-ish code in Erlang.

    Some had been trying to slim down Rails in core, so that there would be less code needed to serve requests.

    Tenderlove, who came from the system programming side of things, joined the Rails core team with a focus on optimization, did work on Rack, and eventually he started working to help speed up Ruby.

    For years, Matz and others had focused on speeding up and slimming down Ruby. Ruby had run on Lighttpd and Ruby on Rails could run on it also.

    But, because the language was interpreted, it wasn't trivial.

    Another team wrote Crystal hoping that a compiled Ruby-like language would take off, and there was interest, but some of the the developers excited about Ruby and what it could do for the web had gone off to JS (Node), Python (...), Erlang (Elixir), etc.

    So, no, I don't think it's realistic that they put a year into it. At least 9+ calendar years led to this point, and it's been 26+ calendar years since initial release. And this isn't the end of it. It's not trying to compete with or tank your favorite framework or language of choice, it's just been improving and its team has been improving.

    Ruby is not Rails. But, not talking about how the history of Rails in the scope of things would be remiss. I can't think of anything in the history of Ruby that has been bad, but certainly Rails has had its "fun". But right now, it's coming together, and this shit is real.

    [1]- https://en.wikipedia.org/wiki/Yukihiro_Matsumoto

    [2]- https://en.wikipedia.org/wiki/Ruby_on_Rails

    [3]- https://github.com/mruby/mruby

  • What do you use mruby for? Is the use case purely for embedded systems?
    1 project | news.ycombinator.com | 20 Dec 2020
  • A note from our sponsor - SaaSHub
    www.saashub.com | 18 Apr 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic MRuby repo stats
5
5,236
9.8
about 23 hours ago

mruby/mruby is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of MRuby is C.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com