OpenLDK: Bringing the Java World into Common Lisp

(atgreen.github.io)

89 points | by atgreen 2 days ago

5 comments

  • mgdev 10 hours ago
    Wouldn’t it be wonderful if, in the world of LLMs, Lisp became the new lingua franca, because we don’t have to convince humans that parens are scary, and because it enables exactly this kind of magic.

    Full circle for Lisp as an AI language.

    • atgreen 9 hours ago
      Hey, I'm the author. Yes, I worked in the University of Toronto's AI lab as a student many years ago, back when Lisp in AI was a thing. It definitely would be full circle!
    • jonhohle 6 hours ago
      LLMs can’t count. Do you think they can balance parens?

      Personally, I’ve wondered why they don’t just generate machine code.

      • shoobiedoo 5 hours ago
        I never thought of that. Humans avoid machine code for many reasons. If LLM's don't need to produce human-readable output, then why not?
        • __m 2 hours ago
          It would be architecture dependent
      • rafram 2 hours ago
        I mean, is this an actual issue? There have to be plenty of developers using LLMs to write Lisp(s).

        I have occasionally seen Claude models struggle to balance brackets/parens in nesting-heavy languages like Dart (Flutter), but it’s gotten much better.

  • Trusteando 11 hours ago
    I think OpenLDK allow you to use the Java world for sbcl when you don't want to use Clojure or ABCL. But using OpenLDK requires you to pay the interop cost and when speed of the java libraries is not a sharp constrain.
  • rjsw 11 hours ago
    Your "light mode" button doesn't work.
    • adrianmonk 10 hours ago
      That button makes the invisible scrollbar visible, though, which is great.
  • bjornroberg 7 hours ago
    I love lisp. I have fond memories of reading/studying Land of Lisp many years ago. Glad to see stuff like this being created.
  • yogthos 7 hours ago
    Incidentally, it looks like this idea also works with Jolt now. It's still in alpha stages, but works as a proof of concept. https://github.com/jlt-commons/jolt-openldk