~/talk

Loopage

Talkat JSConf.eu 2010 · 2010-09-25..09-26· [creative-coding]
slides:none on file

Argues that single-threaded event loops beat threads for reliability and efficiency, citing node.js implements a non‑blocking event loop and showing how callbacks avoid mutual‑exclusion races and deadlocks. Demonstrates hazards of threads with a tiny example where interleaved writes make an array vanish — race conditions delete data. Notes missing JavaScript tail calls, recommends iteration via setTimeout(0) or workers for long tasks, praises server‑side JS + yui3 and warns HTML5 increases XSS risk.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32Loops
  3. 2:48Loop primitives
  4. 4:25Event loop
  5. 6:21Code breaking
  6. 8:02The first compiler
  7. 9:35Open source
  8. 10:55Fortran
  9. 11:22Readblocking
  10. 11:59Timesharing
  11. 12:56IO
  12. 14:14Text editors
  13. 14:37Macintosh
  14. 15:43HyperCard
  15. 17:25JavaScript
  16. 19:34Threading
  17. 20:27JavaScript programs
  18. 22:38Mutual exclusion
  19. 24:29deadlock
  20. 25:45cons of threading
  21. 27:36pros and cons
  22. 28:55iteration and workers
  23. 30:09remote procedure call
  24. 32:11security
  25. 32:40crosssite scripting
  26. 33:28misinterpretation of HTML
  27. 34:01page templates
  28. 34:48serverside JavaScript
  29. 35:07netscape
  30. 35:56nojs
  31. 39:04Protocols
  32. 39:50HTTP
  33. 40:25Database
  34. 42:16Elco Server
  35. 43:05Stupid Argument
  36. 44:25Grace Hopper
  37. 45:23Show of Hands
  38. 45:58The Only Web Standard
  39. 49:12Demo
  40. 50:32Continuation Passing
  41. 54:16HTML5 Crosssite scripting hazard
  42. 57:28Microsoft
~/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.