This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-30
Channels
- # admin-announcements (1)
- # aws (32)
- # bangalore-clj (1)
- # beginners (2)
- # boot (137)
- # cider (2)
- # clara (1)
- # cljs-dev (39)
- # cljsrn (20)
- # clojure (268)
- # clojure-berlin (20)
- # clojure-canada (37)
- # clojure-dev (8)
- # clojure-gamedev (6)
- # clojure-norway (2)
- # clojure-russia (55)
- # clojure-spec (130)
- # clojure-uk (39)
- # clojurebridge (1)
- # clojurescript (102)
- # cursive (20)
- # datomic (231)
- # editors (5)
- # editors-rus (8)
- # events (5)
- # funcool (12)
- # hoplon (31)
- # instaparse (57)
- # jobs (9)
- # lein-figwheel (4)
- # off-topic (2)
- # om (8)
- # om-next (30)
- # onyx (241)
- # planck (6)
- # protorepl (4)
- # re-frame (115)
- # reagent (7)
- # rum (9)
- # schema (1)
- # test-check (9)
- # untangled (24)
- # yada (20)
related to boot: what the good ppl use here for scripting (if they do that in clojure)? boot? cljs/node? inlein?
I used boot. But the whole startup-delay is killer and really ruins my main use of 'scripting'. doing things quickly.
@benedek: you can also so some scripting with Planck which might be worth investigating
@martinklepsch @thomas any pointers on how to use planck for scripting? does the startup-delay apply with planck as well? (sorry if somewhat basic questions)
i used inlein before and although it is nice, does the trick but the somewhat slow for same reasons as boot for @xlevus I suppose
@benedek there is next to now start up delay with planck. I think it uses node.js under the covers. so it cljs instead of clj.
mawning
planck is cljs + jsc afaik, so none of the usual node stuff is available: http://planck-repl.org/internals.html
so guessing right that whatever i do in planck will run on macs and linux but not on win*?
@benedek what kind of scripting are you thinking of doing? If you need to make it for other people to be productive maybe the solidness of Java is worth the startup overhead
Yeah, you’d struggle with AWS stuff without a JVM. I tend to generate uberjars and then use bash to call them - I have the impression (without I’ll admit any research) that calling an uberjar from java is probably quicker than a lein script…
I quite like the look of inlein though - I’ve done a lot of faffing around creating whole projects around 10 lines of clojure code in the past, sometimes it’d be nice to just use a single file.
isn’t part of the problem with lein that it starts a repl… and that is what takes a long time?
as far as i remember (have not rechecked) AWS (at least for s3) is ok for node.js too
using node libs in a bundled cljs project is not as easy as it could be, mostly because the majority of cljs seems to hate node
this mostly worked though: https://github.com/glenjamin/cljs-webpack-deps/