~/talk

Core.Async

Talkat Clojure/conj 2013 · 2013-11-14..11-16· [clojure]
links:none on file
slides:none on file

Overview of core.async primitives and examples using HTTP kit and ClojureScript, showing channels, buffered/dropping/sliding semantics, alts and timeout behavior, and the go transform that compiles blocking-style code into callbacks. Demonstrates porting to cljs, running 10,000 cells of animation in a browser, integrating async HTTP calls to The Movie Database to go from ~5s to 88ms by changing when takes occur, and notes a measured ~50% slowdown inside go blocks versus raw code while keeping lightweight concurrency via go blocks.

AI-written summary · about

  1. 0:00Core.Async introduction
  2. 1:14Channels as primitives
  3. 3:00Callbacks vs blocking in channels
  4. 5:49Blocking put and take
  5. 7:15Thread macro and channels
  6. 8:19Go blocks and threads
  7. 11:35Buffered channels and backpressure
  8. 13:22Dropping and sliding buffers
  9. 14:47Using alt to select channels
  10. 15:51Timeout and non-blocking ops
  11. 16:55Alt cancels operations
  12. 19:03Single-threaded shared access
  13. 20:26Thread pool with channels
  14. 21:10HTTP async integration
  15. 22:57Async map for responses
  16. 26:02Multicast channels
  17. 28:11PubSub with topics
  18. 29:15Core.Async vs actors
  19. 30:17Core.Async in ClojureScript
  20. 31:41Green threads in JS
  21. 33:49Movie DB query in ClojureScript
  22. 36:38Q&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.