This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-31
Channels
- # announcements (5)
- # babashka (105)
- # beginners (92)
- # calva (77)
- # cider (17)
- # cljdoc (8)
- # cljs-dev (8)
- # cljsrn (8)
- # clojure (272)
- # clojure-dev (25)
- # clojure-europe (5)
- # clojure-italy (6)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojure-uk (108)
- # clojurescript (326)
- # code-reviews (4)
- # cursive (6)
- # datomic (37)
- # duct (5)
- # emacs (14)
- # fulcro (23)
- # graphql (1)
- # juxt (1)
- # kaocha (2)
- # leiningen (10)
- # malli (9)
- # music (1)
- # nrepl (12)
- # pathom (21)
- # pedestal (2)
- # planck (4)
- # quil (3)
- # reitit (29)
- # rewrite-clj (10)
- # shadow-cljs (82)
- # spacemacs (29)
- # sql (6)
- # tools-deps (19)
@sogaiu if you are busy, and you still have scripts lying around that you used for graalvm testing, I could put this on my todo.
@lee you could also look at the jet, or sci repo which have tests for graalvm. What I usually do is create a namespace with :genclass and -main entry, compile that to an uberjar, run it through graalvm and execute the binary using clojure.shell/sh and verify that it works
i was trying to patch babashka with rewrite-cljc (some playground branch) and was just using the build script from babashka for my efforts.
ah, the zulip logs have some earlier rewrite + native image info: > i have been trying out rewrite-cljs-playground (cljc-spike-2 branch) in a couple of projects that use native-image. a few things i've noticed are: > 1) the resulting binary is close to 40 MB, while with a slightly patched rewrite-clj, the resuls are between 12-14 MB > 2) i have not succeeded in building with native-image with the cljc-spike-2 branch with clojure 1.10, though 1.9 works > 3) using the slightly patched rewrite-clj leads to successful native-image builds with clojure 1.9 and 1.10
looking at the log from: https://pastebin.com/etSw2Q9z -- this is the most recent round of attempts