This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-17
Channels
- # adventofcode (25)
- # announcements (2)
- # babashka (16)
- # babashka-sci-dev (16)
- # beginners (213)
- # calva (15)
- # clj-kondo (126)
- # clj-on-windows (1)
- # cljdoc (5)
- # cljfx (1)
- # cljs-dev (6)
- # clojure (230)
- # clojure-europe (38)
- # clojure-nl (3)
- # clojure-uk (3)
- # conjure (10)
- # core-async (15)
- # cursive (33)
- # fulcro (58)
- # hyperfiddle (4)
- # jobs-discuss (1)
- # kaocha (5)
- # lsp (46)
- # meander (3)
- # off-topic (30)
- # polylith (10)
- # portal (9)
- # re-frame (5)
- # reitit (7)
- # releases (2)
- # ring (17)
- # sci (8)
- # shadow-cljs (6)
- # specter (1)
- # sql (1)
- # testing (9)
- # tools-deps (4)
- # vim (12)
Something I've been wondering about with sci, would it be possible to tweak its evaluation semantics , for example to make it call by need and not call by value?
I suspect it would be easier to do a program transformation to wrap everything in delays
as SCI assumes the same semantics as clojure and doesn't really try to do anything different
but having said this @mauricio.szabo has done some hacks to implement a sort-of async/await in SCI on JS
https://twitter.com/mauricio_szabo/status/1426713696789794816 and then he did make it so, but I lost track where the code is...
@ben.sless yeah here it is probably: https://app.slack.com/client/T03RZGPFR/C029PTWD3HR/C03RZGPG3-1639716316.475700
This is where his hack lived: https://github.com/mauricioszabo/nbb/blob/full-async/src/nbb/sync_promises.cljs
Hi there - just jumping in the conversation now. If someone is interested I can discuss my hack :)