Fork me on GitHub
#clojure-nl
<
2018-12-20
>
lmergen08:12:43

migrating to clojure 1.10!

borkdude10:12:54

I’ve already been doing that in the last few months (locally). When it came out, it was a trivial commit 🙂

borkdude10:12:10

the main change I had to make was some namespace decl. that didn’t satisfy the spec anymore

lmergen10:12:48

yeah true, for me i had to patch a few things in onyx, which i never could be bothered to do

lmergen10:12:53

but now it's working

lmergen10:12:20

unfortunately openjdk11 stills seems a bridge too far, not all libraries appear to work

borkdude10:12:34

haven’t tried that yet…

lmergen10:12:57

it has a new garbage collector which sounds promising

lmergen10:12:00

wanted to check it out

thomas11:12:00

what is different about the new GC @lmergen?

lmergen11:12:33

a blob post explains it better than i can

lmergen11:12:17

tldr: existing garbage collectors are years, decades old, java11's new ZGC is better suited for large volumes of ram

borkdude11:12:07

@lmergen what libs are you running into problems with with Java 11?

lmergen11:12:48

a dependency of manifold, also one of zach tellman's libraries

lmergen11:12:50

let me look it up

lmergen11:12:23

there is some type hint that's required in java11

lmergen11:12:49

this is the error i'm seeing:

clojure.lang.Compiler$CompilerException: java.lang.IllegalArgumentException: Must hint overloaded method: toArray, compiling:(clojure/core/rrb_vector/rrbt.clj:282:1)

lmergen11:12:03

regardless, i don't care enough 🙂

lmergen11:12:07

happy enough with clojure1.10

lmergen11:12:40

that appears to be the issue

borkdude12:12:53

voting helps 🙂

gklijs13:12:46

The Z collecter was also presented at Devoxx, Shenandoah seems pretty similar, although for Z the focus is more on large applications.

gklijs13:12:24

But you can just use java 11 Garbage Collection with java 8 bytecode.

lmergen13:12:37

why didn't i think of that before :thinking_face:

lmergen13:12:15

i haven't heard of shenandoah before

lmergen13:12:20

is it openjdk only ?

hansw14:12:39

what do you mean, openjdk only?

lmergen14:12:04

i wondered whether it was something inside oracle's jvm as well

hansw14:12:59

from what i understand, everything that is in openjdk, is in oracle's jvm.

hansw15:12:11

the other way around, i'm not sure.

hansw15:12:30

i've always understood oracle's jvm to be a superset of openjdk

lmergen15:12:24

ah that makes sense

gklijs16:12:02

Well, that's only so recently, also a lot of companies like IBM and Amazon, are trying to fill the void since Oracle is only going to support each java version for half a year, with their 'own' open jdk with longer support. I really fear a lot of projects are going to be java 8 for a long time because of this.

lmergen17:12:01

right, i think it makes sense for companies like aws

thomas19:12:21

I am still running java 8