This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-23
Channels
- # admin-announcements (95)
- # beginners (16)
- # boot (50)
- # cider (15)
- # cljs-dev (47)
- # clojure (149)
- # clojure-italy (5)
- # clojure-russia (94)
- # clojurescript (163)
- # clr (1)
- # cursive (6)
- # datavis (9)
- # editors-rus (4)
- # hoplon (24)
- # jobs (9)
- # ldnclj (32)
- # lein-figwheel (4)
- # mount (5)
- # off-topic (2)
- # om (68)
- # parinfer (31)
- # proton (1)
- # reagent (32)
- # remote-jobs (1)
- # yada (5)
just a heads up
the clojure implementation has been switched out with a pure JS implementation
huge speed increases, no more indentModeChange
much easier to port to emacs, etc
@shaunlebron: Cool. I don’t see it on Clojars… I suppose I’ll need to figure out a way to consume 1.1.0 from ClojureScript (probably :foreign-libs
or somesuch).
@mfikes ill put together something for clojars tonight. thanks
@shaunlebron: Cool. Meanwhile it looks like it is just one parinfer.js
file, really.
@mfikes yeah just one file. hoping to make it easier to port
@snoe thanks. and yeah i didnt try to use transients or anything so that wouldve helped a lot
@shaunlebron: If you scroll to the bottom of this commit, you can see me using it https://github.com/mfikes/replete/commit/5c2c6d85f89420b9ce4a52c8d5cfeab8f0d5217f
just thought using imperative, mutable JS would squeeze out out every ms possible while making it directly translatable to other scripting langs
it went from 2.5s to 100ms for a 2800 line file
One benefit of having it as a pure JavaScript lib is that consumers can use it pretty much immediately upon initialization, prior to ClojureScript itself even being loaded and initialized, which can take a little time.
right
@mfikes cool, looked at the code.
@shaunlebron: It is my first time ever doing it, so feedback welcome.
thought you might need some externs but im not seeing advanced optimizations. so nvm
oh haha
i always forget how to use foreign libs
(It turns out that :none
is fastest in terms of minimizing initialization latency, at least this panned out to be true for Planck.)
i wanna put together a cljsjs package since the original clj version is deprecated
oh i see
interesting
yeah ill try to get around to the cljsjs package later. spent too much time clojuring and interviewing. need to make some xmas gifts 😛