HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
macournoyer
tinyrb
C2013–2017
macournoyer / tinyrb

tinyrb

A tiny subset of Ruby with a Lua'esc VM

2Distinct people
2Mentions
0Explicit recommenders
467GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A tiny subset of Ruby with a Lua'esc VM

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year2 dated mentions

Observed mentions: 2013-08-06 06:42:56 UTC to 2017-06-18 14:32:46 UTC.

012013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20132014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2017

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC101
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC000
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC000
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101

What Hacker News says

2 sources
> Just fix the VM then No the point isn't that the VM is broken. The point is that the Ruby language has semantics and is used in idioms that nobody knows how to optimise well yet. > tinyrb based on potion based on lua with classes is ~200x faster in method calls tinyrb is interesting, but it just isn't the same semantics as Ruby: https://github.com/macournoyer/tinyrb#what-wont-be-in-tinyrb... tinyrb doesn't have a better VM - they're implementing a different programming language with all the hard bits left out! In my project we've been having to do new original research into how to optimise Ruby - introducing concepts such as dispatch chains which haven't been needed more because people don't try to push metaprogramming in most language like they do in Ruby. http://stefan-marr.de/downloads/pldi15-marr-et-al-zero-overh...
In RTL MJIT – Register transfer language VM and JIT for Ruby
The book is made by the creator of tinyrb (https://github.com/macournoyer/tinyrb). I've never read it, so I don't know whether it's any good, but I'm sure it's not a scam. Implementing a programming language is a pretty difficult but rewarding task. It's become a lot easier these days now that there are giant runtimes you can target (JVM, CLR and so on). I would encourage anyone who is interested to give it a shot, and to find a good book or course to do so. (That book from Brown dmunoz posted looks excellent) And once you've done that, try writing your own runtime too (garbage collector/virtual machine or native compiler). It will teach you a lot about the tools you use every day.
In Create Your Own Programming Language

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.