News for hackers. Stuff that matters.
Re:Scripting in Common Lisp by kimi on Thursday January 31, 2019 @02:29AM (#19043113)
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 as a wrapper and it works on both.
Re:Scripting in Common Lisp by zebraman on Thursday January 31, 2019 @06:20AM (#19043992)
Using modern Clojure's clj is so much easier than the CL procedure.
Re:Scripting in Common Lisp by eggy on Thursday January 31, 2019 @07:35AM (#19044285)
Until you have to deal with unintelligible Java stack traces.
Re:Scripting in Common Lisp by islon on Thursday January 31, 2019 @08:20AM (#19044479)
They are intelligible if you know Java and Clojure 1.10 improved stack traces.
Re:Scripting in Common Lisp by TeMPOraL on Friday February 01, 2019 @04:02AM (#19052685)
Yup.

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.