←back to thread

188 points refset | 1 comments | | HN request time: 0.001s | source
Show context
fire_lake ◴[] No.41867415[source]
IIUIR, Clojure uses the JVM garbage collector to clean up memory.

How does Jank do this whilst keeping the user code… still Clojure?

replies(1): >>41867713 #
refset ◴[] No.41867713[source]
Jank uses Boehm GC (written in C, also used by the likes of Inkscape, Guile and Mono) - it is discussed a little in the previous blog posts, e.g. https://jank-lang.org/blog/2023-07-08-object-model/
replies(2): >>41868176 #>>41869742 #
1. k_g_b_ ◴[] No.41868176[source]
Guile seems to prepare to switch to https://github.com/wingo/whippet - a GC C library that can wrap Boehm/BDW but also provides more (and less) advanced GC options. Should be a good option for Jank and similar projects as well - especially if they already use BDW.