summaryrefslogtreecommitdiffstats
path: root/2022/talks/async.md
diff options
context:
space:
mode:
authorMax Thibodeaux <max.thibodeaux@gmail.com>2022-12-10 20:59:48 -0600
committerMax Thibodeaux <max.thibodeaux@gmail.com>2022-12-10 20:59:48 -0600
commit70556fd029f8be19293a309f8f7e4655c54b9952 (patch)
treeee7f21e0303e6c922739561a14485b578de2cf42 /2022/talks/async.md
parentc1aa0fefc648d829c753e33a5edbf8e0180c8d6a (diff)
parent81c09be55873c84e296eaa3680bc1b71664d6805 (diff)
downloademacsconf-wiki-70556fd029f8be19293a309f8f7e4655c54b9952.tar.xz
emacsconf-wiki-70556fd029f8be19293a309f8f7e4655c54b9952.zip
Revised and expanded Q and A
Diffstat (limited to '2022/talks/async.md')
-rw-r--r--2022/talks/async.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/2022/talks/async.md b/2022/talks/async.md
index 15d7b67a..da1d83cf 100644
--- a/2022/talks/async.md
+++ b/2022/talks/async.md
@@ -49,43 +49,43 @@ provably correct code. You can find him at:
# Discussion
- Q: (Referencing the first half of your talk): How does this approach
- compare to using tq.el, Emacs\' built-in library for transaction
+ compare to using tq.el, Emacs' built-in library for transaction
queues?
- - A: Great question; should have mentioned that\... I took a look,
- but chose to just do it \"by hand\"; I wouldn\'t have used many
+ - A: Great question; should have mentioned that... I took a look,
+ but chose to just do it "by hand"; I wouldn't have used many
of the features offerred by tq.
- Q: Have you considered using the aio.el library (written by Chris
Wellons) that implements async/await for Emacs lisp using promises?
- It\'s implemented using Elisp\'s record data structure, and turns
+ It's implemented using Elisp's record data structure, and turns
the nested callback structure into regular-looking Elisp code
(without extra keywords etc). +1
- - A: I wasn\'t aware, but thanks for the pointer\-- will
+ - A: I wasn't aware, but thanks for the pointer-- will
definitely take a look
- Q: not to take away from your excellent work, but are you aware that
- EMMS has an MPD client? There\'s also mpc.el built into Emacs.
+ EMMS has an MPD client? There's also mpc.el built into Emacs.
- A: Another great point; I am, along with mpdel (another MPD
- client for Emacs). They are all full-fledge applications\-- I
+ client for Emacs). They are all full-fledge applications-- I
just wanted a small, tight toolkit
- Q:Have you seen the Lonesome Pine Specials? I saw your music library
and figured you would be interested. My favorite is the one with
Edgar Meyer, Sam Bush, Jerry Douglas, and I think Bela Fleck and
- Mark O\'Connor?
- - A: LOL I haven\'t, but I I think I will be!
+ Mark O'Connor?
+ - A: LOL I haven't, but I I think I will be!
- Q: can you share the code to the macro that creates the callback
tree?
- A: <https://github.com/sp1ff/elmpd/blob/master/elmpd.el#L898>
- thanks!
- Q: would using dynamic/special vars add anything interesting /
- easier to async elisp in your opinion? i noticed you using \`let\` a
- lot, but if you defined a variable hmm\... not sure if i can :)  i
+ easier to async elisp in your opinion? i noticed you using `let` a
+ lot, but if you defined a variable hmm... not sure if i can :)  i
was just wondering if having dynamic binding in Elisp opposed to
something like JS adds some power to async programming
- A: lexical binding is easier to reason about :)
-- Q: There\'s another package (chuntaro?) in addition to wellon\'s aio
+- Q: 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?
- - A: Longer discussion in the chat room, but I think it\'s a
+ - 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.?