~/talk

Let's write an esoteric language in Ruby!

Talkat RubyConf 2024 · 2024-11-13..11-15· [ruby]
slides:none on file

Implementation claims a working Ruby Piet interpreter called Rpiet plus a graphical debugger that runs under JRuby with JavaFX. Starting interpreter takes ~147 seconds on a prime-detection benchmark. Replacing image reparse with a graph interpreter doubles speed and reduces instructions from 197 to 76. Converting the graph to an IR and then transpile to Ruby yields about 70× speedup. Tooling includes profiler, control‑flow graphs, an assembler and an ASCII image format; the debugger and optimizations do work.

AI-written summary · about

  1. 0:00Esoteric languages intro
  2. 1:04What is an esolang
  3. 2:11P language overview
  4. 5:48P program execution
  5. 7:35RPit implementation
  6. 8:59P program examples
  7. 9:21Porting P to Ruby
  8. 11:48Original interpreter challenges
  9. 12:52Abstract syntax graph
  10. 14:19Benchmarking prime detection
  11. 15:23Graph to instructions
  12. 17:30Optimizing instructions
  13. 19:42P to Ruby transpile
  14. 22:31Performance and conclusions
  15. 23:54Lessons from P and Ruby
  16. 24:58Tools for P
  17. 25:44Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.