This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-26
Channels
- # aleph (5)
- # announcements (16)
- # babashka (36)
- # beginners (161)
- # calva (24)
- # cider (8)
- # circleci (45)
- # clj-kondo (5)
- # cljs-dev (25)
- # cljsrn (5)
- # clojure (116)
- # clojure-europe (10)
- # clojure-nl (18)
- # clojure-uk (14)
- # clojuredesign-podcast (6)
- # clojurescript (50)
- # cursive (12)
- # data-science (8)
- # datomic (8)
- # duct (39)
- # emacs (6)
- # fulcro (21)
- # graalvm (12)
- # kaocha (17)
- # off-topic (184)
- # pathom (1)
- # pedestal (2)
- # re-frame (31)
- # reagent (24)
- # reitit (1)
- # sci (1)
- # shadow-cljs (23)
- # sql (147)
- # tools-deps (8)
- # vrac (3)
- # xtdb (35)
Here's a commit upgrading a project from GraalVM java8 (19.3.0) to java11 (20.1.0), if anyone's interested: https://github.com/borkdude/clj-kondo/commit/e1b9df02204c4bc655c7fdbc8e6481dce94de9b9
If I wrote some notes about https://www.graalvm.org/sdk/javadoc/org/graalvm/nativeimage/ImageInfo.html , would that be useful enough to include in https://github.com/lread/clj-graal-docs#tips-and-tricks ?
@smith.adriane Sure. Note that you can also use system properties set by GraalVM to determine if you're running inside a native image.
$ bb '(clojure.pprint/pprint (into {} (System/getProperties)))'
{"org.graalvm.nativeimage.kind" "executable",
"java.vm.specification.vendor" "Oracle Corporation",
"java.vendor.url" " ",
"java.specification.name" "Java Platform API Specification",
"line.separator" "\n",
"java.vm.version" "GraalVM 20.1.0 Java 11",
"java.vendor" "Oracle Corporation",
"java.specification.vendor" "Oracle Corporation",
"java.vm.specification.version" "11",
"java.vm.vendor" "Oracle Corporation",
"org.graalvm.nativeimage.imagecode" "runtime",
"java.vm.name" "Substrate VM",
"java.version" "11.0.7",
"java.specification.version" "11",
"java.class.version" "55.0",
"jdk.lang.Process.launchMechanism" "FORK",
"java.vm.specification.name" "Java Virtual Machine Specification"}
it's even referenced in the source, https://github.com/oracle/graal/blob/master/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/ImageInfo.java
I'll make sure to include the system properties in the notes
thanks for managing all the docs. graalvm is magic 🧙