Worth looking at Clojure too. It handles multi threading quite well.
On Thu, Sep 19, 2024 at 4:38 AM Blake McBride blake@mcbride.name wrote:
Hello,
I have a multi-threading Java application (like a web server). ABCL is already added to it but is not used too much. I have a particular need within that application that I think ABCL would be well suited for, but I first need to better understand how ABCL functions in a multithreading environment. What I need is as follows.
I have some Lisp code and data that will be defined both by .lisp files and from within Java. This code and data will be used by a multi-threading Java application in a read-only way. However, the Java threads themselves need to be able to introduce Lisp data that must be unique to each thread and gets deleted when the thread ends (presumably by the GC).
Is there a way to do this with ABCL?
Thank you!
Blake McBride