This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-14
Channels
- # announcements (4)
- # aws (7)
- # babashka (44)
- # beginners (178)
- # calva (15)
- # cider (3)
- # clj-kondo (15)
- # clojure (139)
- # clojure-dev (8)
- # clojure-europe (2)
- # clojure-italy (2)
- # clojure-losangeles (9)
- # clojure-nl (32)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (27)
- # clojurescript (17)
- # core-typed (116)
- # cursive (26)
- # data-science (1)
- # datomic (14)
- # duct (16)
- # emacs (9)
- # events (1)
- # fulcro (47)
- # jobs (3)
- # juxt (6)
- # keechma (2)
- # malli (59)
- # mid-cities-meetup (8)
- # off-topic (32)
- # pathom (5)
- # reagent (2)
- # remote-jobs (4)
- # rewrite-clj (16)
- # shadow-cljs (14)
- # spacemacs (9)
- # sql (27)
- # tools-deps (37)
- # vscode (7)
Has anyone exprimented with wasm modules from CLJS? I'm looking at this cool talk about WASI, and she mentions that node is reachable through wasm-bindgen
. https://www.youtube.com/watch?v=fh9WXPu0hw8
check this out - https://github.com/roman01la/clj-wasm
wasm does have some limitations, for instance no first class functions. So I don't think we can compile arbitrary Clojure code to wasm (not 100% sure). I'd look at it a bit like how we generate Hiccup from data
My OP was mainly about consuming warm modules. In case that wasn’t clear. All this is very new to me, so I don’t know how to phrase my questions.
I did not have time to look at this library and I believe it is still at early phase. But I think author (@U0FR82FU1) can help you
👋 clj wasm is an experiment to write wasm in Clojure syntax, no data structures or library , it's just syntax
@U3X7174KS this seems to speak to the point you made about the limitations: https://youtu.be/6Y3W94_8scw?t=321
I'm trying to figure out sourcemaps. I've got the compiler option set to a string to output our sourcemaps for prod. I made a prod build, triggered an error in the app and trying to go to the source-mapped error location but not making any progress. I've right clicked on the minified output and tried to add a source map but nothing seems to happen. anyone know how i could get more traction?
> I've right clicked on the minified output Where exactly? In DevTools, I don't have to click on anything - it attaches the sourcemaps automatically.
in the source. there's a way to add a source maps url. I was hoping that clicking on an error in the console would take me to the source mapped position but that doesn't seem to be the case
> there's a way to add a source maps url I know only of a way to specify the source map in the minified source itself. When it is done, DevTools automatically download the source map and use it.
we have that as well. So in theory it should work. If you can trigger an error, if you click on the link to the source in the console next to the error message does it take you to the source mapped error spot?
With shadow-cljs, I can make it work with shadow-cljs watch
but not with shadow-cljs release
.