~/talk

VaaS (Vim as a service)

Talkat Big Sky Dev Con 2025 · on Saturday, 2025-08-02· [developer-experience]
name:typecraft
links:none on file
slides:none on file

A browser-hosted Vim runs as a real server-side pty streamed to an xterm.js terminal, not a JavaScript reimplementation; initial attempts used ACE and a JS textfield but failed. Rails + Stimulus handles the page, a Go service spawns lightweight goroutines to run pty instances and a Gorilla websocket upgrades connections for interactive IO because Ruby threads and the GVL block at scale. Challenges submit keystrokes and output to an async job that uses AI scoring, with results pushed via Turbo broadcasts and live in xterm.js.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:27Introducing Vim as a service
  3. 3:35First failed attempts at Vim in browser
  4. 4:59Exploring ACE editor limitations
  5. 6:27Using Xterm for terminal in browser
  6. 8:16Architecture overview and backend needs
  7. 8:59Ruby concurrency challenges
  8. 10:04Choosing Go for concurrency
  9. 11:09WebSocket connection setup
  10. 13:23Adding Vim challenges with AI scoring
  11. 15:30Live demo of the working system
  12. 16:57Q&A and closing remarks
~/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.