From b3fd77d7b616026d29e02fb4f7447aa148aef291 Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 9 Dec 2022 22:42:31 -0500 Subject: add Q&A for async --- 2022/info/async-before.md | 24 ++++++++++++++++++++++++ 2022/talks/async.md | 3 +++ 2 files changed, 27 insertions(+) (limited to '2022') diff --git a/2022/info/async-before.md b/2022/info/async-before.md index b170a01b..41e81651 100644 --- a/2022/info/async-before.md +++ b/2022/info/async-before.md @@ -11,6 +11,8 @@ Discuss on IRC: [#emacsconf-dev](https://chat.emacsconf.org/?join=emacsconf,emac Status: Q&A finished, IRC and pad will be archived on this page +# Talk + [[!template id="vid" vidid="async-mainVideo" src="https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--main.webm" poster="https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--main.png" captions="""""" size="98M" duration="17:48" other_resources="""[Download --main.webm (98MB)](https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--main.webm) [Download --main.vtt](https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--main.vtt) @@ -35,6 +37,28 @@ size="98M" duration="17:48" other_resources="""[Download --main.webm (98MB)](htt """]] + +# Q&A + +[[!template id="vid" vidid="async-qanda" src="https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--answers.webm" poster="https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--answers.png" ${captions} +size="34M" duration="17:48" other_resources="""[Download --answers--chapters.vtt](https://media.emacsconf.org/2022/emacsconf-2022-async--emacs-was-async-before-async-was-cool--michael-herstine--answers--chapters.vtt) +"""]] +[[!template id="chapters" vidid="async-qanda" data=""" +00:00:00.000 Introduction +00:21.600 How does this approach compare to using tq.el, Emacs' built-in library for transaction queues? +01:10.480 Have you considered using the aio.el library (written by Chris Wellons) that implements async/await for Emacs lisp using promises? +02:45.440 Are you aware that EMMS has an MPD client? There's also mpc.el built into Emacs. +05:20.360 Have you seen the Lonesome Pine Specials? +07:44.400 Would using dynamic/special vars add anything interesting / easier to async elisp in your opinion? +10:16.560 How does your project compare to some of the other MPD clients? +11:55.040 Can you share the code to the macro that creates the callback tree? +14:42.880 There's another package (chuntaro?) in addition to wellon's aio that also implements a coroutine trampoline on the emacs event loop. any thoughts on the async/await paradigm generally red/blue functions, etc? +15:03.440 Any thoughts on the async await paradigm generally, red-blue functions, etc.? +21:06.320 Do you think it's a viable future for Emacs to get out of callback hell? +24:39.320 Generators + +"""]] + # Description diff --git a/2022/talks/async.md b/2022/talks/async.md index 2fd56bc0..15d7b67a 100644 --- a/2022/talks/async.md +++ b/2022/talks/async.md @@ -87,6 +87,9 @@ provably correct code. You can find him at: functions, etc? - A: Longer discussion in the chat room, but I think it\'s a promising if over-used approach to concurrency. +- Q: How does your project compare to some of the other MPD clients? +- Q: Any thoughts on the async await paradigm generally, red-blue functions, etc.? +- Q: Do you think it's a viable future for Emacs to get out of callback hell? [[!inline pages="internal(2022/info/async-after)" raw="yes"]] -- cgit v1.2.3