~/talk

Unlock The Universal Parsers: A New PicoRuby Compiler

Talkat RubyKaigi 2024 · 2024-05-15..05-17· [ruby, compilers-and-language-design]
slides:none on file

Prism integration and a new PicoRuby compiler replace heavyweight parser paths and cut memory dramatically: parsing of puts 'Hello, World!' goes from 129.5KB (mruby Lrama) to 16.7KB (PicoRuby) to 9KB (Prism), and embedding with ruby_init drops to 39.91KB after work to remove VALUE and IMEMO and use custom C structs for arrays. ROM size shrinks from ~24MB to ~1.9MB by linking only parse.o/node.o, and remaining work focuses on arm-none-eabi cross-compile and completing VALUE-dependent API replacements.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Universal parsers overview
  3. 2:52PicoRuby compiler goals
  4. 6:47CRuby build process
  5. 8:12Embedding CRuby
  6. 9:20Memory usage comparison
  7. 11:31Removing VALUE type
  8. 15:30Removing IMEMO objects
  9. 18:50Memory reduction results
  10. 20:43Cross-compilation challenges
  11. 23:51Bare-metal configuration
  12. 24:34Reducing ROM size
  13. 26:08PicoRuby future plans
  14. 27:11Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.