News for hackers. Stuff that matters.
Re:Scheme on Java on Common Lisp by zombot on Wednesday February 25, 2026 @02:08AM (#47148329)
I haven't tried it, but the description sounds delightfully perverse. And an LLM (Claude) cannot be embarrassed by perverting Lisp/Scheme with Java.
Re:Scheme on Java on Common Lisp by anthk on Wednesday February 25, 2026 @04:15AM (#47149224)
The Computer Abstractions book/course for Scheme had some kind of VM written in Java where you had to write an assembler in Scheme as the final 'biggie' project.
Re:Scheme on Java on Common Lisp by pjmlp on Wednesday February 25, 2026 @03:11AM (#47148754)
Why should it?

"We were after the C++ programmers. We managed to drag a lot of them about halfway to Lisp." -- Guy Steele

Re:Scheme on Java on Common Lisp by anthk on Wednesday February 25, 2026 @04:16AM (#47149236)
RMS itself being a diehard Scheme and Elisp user said that he found Java elegant over C. This was OFC long before Go and when C++ was king in the 90's.
Re:Scheme on Java on Common Lisp by brazzy on Wednesday February 25, 2026 @08:31AM (#47151232)
JVM, not Java. And there's Clojure already in that space.
Re:Scheme on Java on Common Lisp by zombot on Thursday February 26, 2026 @04:28AM (#47163845)
Agreed, "Java" was an oversimplification. It's actually JVM bytecode. It's still strange in my book to use an object soup runtime for something (Lisp/Scheme) that feels closer to functional languages to me.

Clojure is a different case, because when you already are on the JVM anyway, then Clojure is still infinitely better than no Lisp at all. It's not the same as putting the JVM somewhere where it wasn't before and where it's not actually needed.

Re:Scheme on Java on Common Lisp by atgreen on Thursday February 26, 2026 @06:50AM (#47164820)
It's like Dr Ian Malcolm says.. "Your developers were so preoccupied with whether or not they could, they didn't stop to think if they should" - Jurrasic Park (almost)
Re:Scheme on Java on Common Lisp by brazzy on Thursday February 26, 2026 @06:52AM (#47164844)
A serious Lisp/Scheme runtime needs a garbage collector. The JVM has probably the most advanced GC implementation around - for that reason alone it doesn't seem particularly strange to me.
Re:Scheme on Java on Common Lisp by Per_Bothner on Thursday February 26, 2026 @05:22AM (#47164165)
Kawa predates Clojure by a decade. (Kawa work started 1996; Clojure's initial release was 2007.) Also, Clojure isn't really focused on high performance, while that has always been a priority for Kawa, which generates bytecode similar to Java, especially if you include suitable type annotations. (It is likely Clojure have have improved in this respect - they have a lot more people working on it.)