~/talk

Asynchronous programming in R

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [concurrency]
links:none on file
slides:none on file

Explains how the later package provides an event loop with a C API and thread‑safe scheduling so many async tasks run inside one R process. Demos: a polling plot watcher (runs every 0.25s), a websocket reversing server demo, an httpuv web server, a remote REPL over websockets, and a headless Chrome screenshotter via chromote — all working live. Notes threaded I/O reduces polling latency and later does not solve tail‑call stack growth.

AI-written summary · about

  1. 0:00Intro
  2. 1:24Asynchronous programming
  3. 3:57Later
  4. 6:35C API
  5. 7:15Websocket
  6. 11:55Web server
  7. 17:30Questions
~/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.