This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-09-14
Channels
- # announcements (2)
- # babashka (54)
- # beginners (53)
- # biff (15)
- # catalyst (2)
- # cider (5)
- # clerk (17)
- # clj-kondo (36)
- # clj-otel (3)
- # clojure (52)
- # clojure-argentina (1)
- # clojure-brasil (1)
- # clojure-europe (35)
- # clojure-losangeles (2)
- # clojure-nl (3)
- # clojure-norway (20)
- # clojure-uk (5)
- # clojurescript (24)
- # cursive (10)
- # datahike (9)
- # datomic (15)
- # defnpodcast (8)
- # events (6)
- # funcool (2)
- # hyperfiddle (21)
- # jobs (1)
- # lsp (19)
- # malli (4)
- # matrix (1)
- # off-topic (25)
- # podcasts-discuss (1)
- # portal (13)
- # releases (1)
- # shadow-cljs (25)
- # solo-full-stack (16)
- # squint (27)
- # tools-deps (6)
- # tree-sitter (4)
Curious: has anyone tried running shadow code in Bun yet? 4 x perf over node is alluring
shadow-cljs is implemented in clojure and runs on the JVM. there is a tiny amount of JS code that is running when you run the shadow-cljs
command. everything else is not JS, so making something that already takes less then 50ms faster is quite pointless
I'm thinking about the runtime perf, not compile or dev performance. That could be improved if the runtime is faster right?
as I said ... shadow-cljs is 99% clojure and runs in the JVM. it barely executes any JS
It doesn't yet fully replicate all node APIs so it'll depend on the app. I plan to try it and will report back here if nobody beats me to it
:esm
is a standard after all, so it should just work. maybe it won't like the dev hacks shadow-cljs does, but release
most definitely will just work
👋 Hey, i've got a quick question about the :esm
target. Is it possible to reference import
from shadow-cljs? I've tried js/import
but that ends up becoming import$ and is undefined. I specifically want import.meta.url
(as shown here https://webpack.js.org/guides/web-workers/)
Edit: It looks like their special syntax is for auto generating bundles (I've already got the bundles generating via shadow) so it's not going to work for me. Went with a different approach so don't need ^ anymore.