~/talk

Running JavaScript within Ruby

Talkat RubyKaigi 2025 · 2025-04-16..04-18· [ruby, javascript]
links:none on file
slides:none on file

A Ruby binding called quickjs_rb gem embeds QuickJS (C) to run modern ES2023 JavaScript inside Ruby with sandboxing, captured console logs, and a define_function API that lets Ruby implement JS functions (used to provide a custom fetch). Intl support is added by bundling and compiling locale JS into C. It replaces FaaS for Persona workflows, cutting HTTP requests and costs, and is handling 4 million invocations per day in production.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:57Demo of quickJS RB
  3. 5:46Why build quickJS RB
  4. 9:42Challenges with function as a service
  5. 11:07Building the Ruby binding
  6. 14:19Productizing quickJS RB
  7. 16:51Key features of quickJS RB
  8. 19:50Define function feature demo
  9. 23:33Real-world usage and impact
  10. 24:58Wrap-up and conclusion
~/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.