This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-06
Channels
- # admin-announcements (266)
- # alda (20)
- # announcements (1)
- # aws (16)
- # beginners (16)
- # boot (288)
- # brevis (7)
- # cljs-dev (40)
- # cljsjs (32)
- # cljsrn (5)
- # clojars (23)
- # clojure (169)
- # clojure-art (2)
- # clojure-czech (3)
- # clojure-finland (1)
- # clojure-italy (3)
- # clojure-norway (1)
- # clojure-russia (88)
- # clojure-sg (3)
- # clojurescript (300)
- # clojurewerkz (8)
- # community-development (14)
- # component (4)
- # core-matrix (1)
- # cursive (9)
- # datavis (26)
- # datomic (44)
- # devcards (3)
- # funcool (1)
- # hoplon (7)
- # jobs (4)
- # ldnclj (11)
- # lein-figwheel (1)
- # nyc (2)
- # off-topic (4)
- # om (149)
- # onyx (1)
- # overtone (1)
- # parinfer (15)
- # proton (3)
- # re-frame (9)
- # reagent (45)
- # yada (2)
in regular ClojureScript this yields :foo.core/a
, but in bootstrapped it yields, of course :foo.core$macros/a
. (It’s unfortunate the $macros
suffix leaks out in places.)
hrm, yeah - but not dissimilar from syntax-quote in macro source file where the ns name differs from the runtime ns name
@dnolen & @alexmiller : @mfikes has pointed out that if Lean HAMT's becomes a contib project / ported to CLJS then anyone who's made a PR would need to be contacted (ala test.check). Are there any legal technicalities I should be concerned with at the moment?
@spinningtopsofdoom: all contributors must have submitted a CA
that's the gist
As far as technical progress is concerned I'm working on getting assoc
/ dissoc
up to current CLJS perf. There's about 25% slower in my benchmark tests right now
thanks!
@dnolen: Tried on two different hosts. ClojureScript master locks up in script/test
. Here is a full gist showing where it halts for me: https://gist.github.com/mfikes/78e6e114468bb9cc6598
@dnolen: It is something in the last pair of commits, related to parallel compilation. One thread gets stuck counting down, with the below in its call stack. I’ll see if I can figure out what it is.
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
cljs.closure$parallel_compile_sources.invoke(closure.clj:808)
circular-deps.a
and circular-deps.b
are in the set it is trying to compile in parallel at the time. Perhaps just good old fashioned livelock. (Wondering why circular dep detection is not causing the whole thing to balk… digging.)
@dnolen: Yeah… I haven’t succeeded in finding if something actually looks for circularity.
Well, its not blocking me… I can always work with a few commits back. No need to rush.
Poor cljs.js-deps/dependency-order
was asked to topologically sort something that can’t be sorted
Very nice, circular dep detection works right in the REPL
cljs.user=> (require 'foo.a)
clojure.lang.ExceptionInfo: Assert failed: Circular dependency detected, cljs.user -> foo.a -> foo.b -> foo.b
I slightly wonder about the last bit of the chain in that error. (In my case b -> a, not itself.)