Coding like it’s 1977: Ruby on the Apple ][
summary
Claims a tiny Ruby interpreter called nRuby runs on an Apple IIc by reimplementing a VM and parser entirely in 6502 assembly, squeezing Ruby semantics into 8 KB RAM and a 1 MHz CPU. Tools include Merlin32, AppleCommander and ADTPro plus an emulator. Surprising numbers: a 241‑byte assembly slideshow program, 56 processor instructions, and a 256‑object limit (heap arranged as 16 pages of 256 bytes with 16‑byte slots). Demo boots an IRB‑style prompt and prints "Hello RubyConf" but assignments and method defs are alpha‑quality and crash occasionally.
AI-written summary · about
chapters (17)
- 0:00Start
- 3:196502 Processor
- 6:32Helloworld Program
- 8:51Mini Monitor
- 9:14Read Bytes from Memory
- 11:04Character Encoding
- 17:34Unicode
- 19:29Ruby for the Apple 2
- 20:34Will It Run Rails
- 20:57Demo
- 26:19Test-Driven Development in Assembly
- 27:08Assembly Code
- 29:24Cc 65 Assembler
- 30:32How Does an Ruby Manage Memory
- 34:47What's Next for N Ruby
- 36:10Nintendo Entertainment System
- 37:08The Ultimate Commodore 64 Talk
related talks
30mRuby on NES - how to make the smallest ruby ever
24mRuby in the 8 Bit World - A Small mruby VM for the Zilog Z80
35mWeird and Wacky Machines Running Ruby
36mCompiling Ruby
32mExperiments in sharing Java VM technology with CRuby
42mRuby 124c41+
36mSome Assembly Required
34mEmbedding Ruby into your Daily Life
