announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
ikitommi 2020-08-27T17:10:42.085800Z

[metosin/jsonista "0.2.7"] is out! Jsonista is a fast JSON decoder & encoder on top of Jackson Databind. This version adds: β€’ new prebuilt keyword-keys-object-mapper for easy support of Keywords keys β€’ updateds to latest Jackson versions β€’ ships with new JMH-based perf tests claiming it’s faster than vanilla Jackson on encoding πŸ€ͺ https://github.com/metosin/jsonista

πŸ‘ 24
🦜 1
ikitommi 2020-08-27T17:11:58.086Z

if someone can share what’s wrong with the perf test setup, I’m all ears.

seancorfield 2020-08-27T17:46:03.088600Z

seancorfield/depstar {:mvn/version "1.1.104"} is available -- for building JAR/uberjar files using the Clojure CLI/`deps.edn` https://github.com/seancorfield/depstar Enhancements: * Fix #37 by adding -X / --exclude to provide one or more regex used to exclude files from the JAR. * Fix #35 by providing hf.depstar.jar/run and hf.depstar.uberjar/run as entry points that can be used by the (new) Clojure CLI -X option (to execute a specific function and pass a map of arguments). * Fix #34 by adding -P / --classpath option to specify a classpath to use (based on PR #36 @borkdude). * Fix #33 by allowing destination JAR filename to appear anywhere on the command-line as well as adding a -J / --jar option for it. Documentation: * Address #31 by clarifying in the README that (:gen-class) is required for AOT. Follow-up in #tools-deps

πŸ‘ 11
15
🀘 1
🦜 1
2
seancorfield 2020-08-27T17:47:26.088900Z

The Clojure CLI -X option is available in prerelease builds of clojure (not the stable build) and is subject to change -- and the run functions here may also change to track that feature, if necessary.

πŸ‘ 1
borkdude 2020-08-27T18:17:16.090Z

A fork of this library is going to appear in babashka 0.2.0. Thanks for the lib!

seancorfield 2020-08-27T18:22:12.090200Z

@borkdude Is there anything I can do to the core code that will make it easier to integrate into Babashka?

borkdude 2020-08-27T18:24:52.090400Z

@seancorfield I basically just needed to get rid of references to AOT-compilation since that doesn't work with GraalVM

borkdude 2020-08-27T18:25:25.090600Z

if you include a reference to clojure.core/compile then it won't ... compile :)

borkdude 2020-08-27T18:26:24.090800Z

Not entirely true. Now I remember. It did compile. It only bloated the binary with another 30MB. Stripping away that code solved the problem.