Overview
Explore asynchronous programming in Emacs through this 18-minute conference talk from EmacsConf 2022. Discover how Emacs implemented async functionality before it became mainstream, starting with an example of automating a music player. Learn about working with APIs, using make-network-process, understanding event sequences, and implementing queues and callbacks. Dive into client-side code, witness a live demo, and examine the logic behind asynchronous operations. Address the challenges of callback hell and see how Lisp macros can provide elegant solutions. Gain insights into Emacs' powerful async capabilities and how they can enhance your programming workflow.
Syllabus
.000 Asynchronous programming
.200 Automating my music player
.600 Working with the API
.080 make-network-process
.200 The sequence of events
.920 Queues
.480 Callbacks
.240 Client-side code
.080 Demo
.760 Logic
.520 Callback hell
.520 Lisp macros
.400 Conclusion
Taught by
EmacsConf and Emacs hangouts