Fork me on GitHub
#babashka
<
2019-11-17
>
sogaiu00:11:07

looking through the changelogs of java 9, 10, and 11 to see what might be added / removed. one thing that stood out was: JDK-8181784 - this is a revised http client lib iiuc. it allegedly has http2 and websocket support of some sort.

sogaiu00:11:08

(import 'java.lang.ProcessHandle)

;; 
(defn print-desc-pids
  [pid]
  (doseq [p (some-> (.get (java.lang.ProcessHandle/of pid))
                    .descendants
                    .iterator
                    iterator-seq)]
    (println (.pid p))))

borkdude07:11:03

Does this work with Java 8 as well? Could be added to bb maybe

sogaiu14:11:20

unfortunately, i think it was introduced in java 9. if graal 19.3 includes java 11 support, does that make such features eligible for inclusion in bb once babashka is built using graal >= 19.3?

borkdude21:11:08

bb v0.0.30: https://github.com/borkdude/babashka/releases/tag/v0.0.30 performance improvement which can make loop and functions using recur 3x faster

🎉 8