4 ms·
I use scripting extensively in Clojure, both on the JVM and on Planck (JS). You have the choice of slower startup times but a ton of libraries to do anything yo
by kimi 8y ago
I use scripting extensively in Clojure, both on the JVM and on Planck (JS). You have the choice of slower startup times but a ton of libraries to do anything you want, versus short start-up times but less libraries, using the same language. I use https://github.com/l3nz/cli-matic https://github.com/l3nz/cli-matic as a wrapper and it works on both.
- zebraman 8y agoUsing modern Clojure's clj is so much easier than the CL procedure.
- eggy 8y agoUntil you have to deal with unintelligible Java stack traces.
- islon 8y agoThey are intelligible if you know Java and Clojure 1.10 improved stack traces.
- TeMPOraL 8y agoYup. Common Lisp stack traces tend to be no better, anyway, at least with SBCL and CCL. Up to 90% of a trace you see in the inspector can be compiler/runtime infrastructure. Given that macros don't show up, only their expansions, the backtrace can be full of stuff like SB-KERNEL:%FUNCTION-THAT-I-DONT-RECOGNIZE-BUT-MACROEXPANDED-FROM-SOMETHING-I-KNOW. Like in Java, most of the time the top few lines are the ones related to your code, but just like in Java, there are exceptions, in which the source of the problem ends up in the middle of the backtrace, surrounded by infrastructure frames.
- deleted 8y ago[deleted]