Unofficial Hacker News companion — get notified on comment replies, and more.

Why stop at Emacs? Native apps you or an AI reprogram in Clojure while they run (opens external site)

153 points by RiccardoSottini 4 days ago | github.com | 110 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. I've been developing a Clojure-like ML framework with a REPL for over a year. It runs on Metal and CUDA through IREE, as a single static binary with no Python.

    A small LLM like NanoGPT looks really neat in Lisp: https://github.com/sheaf-lang/sheaf/blob/main/examples/nanog...

    Besides, because Lisp is so orthogonal and concise, LLMs can write Sheaf code from an 8K-token context file embedded in the binary.

    Currently porting Gemma and Qwen to it.

    https://sheaf-lang.org

    Replies (1)
    1. I love this!

      I'd love to now see embedding fixed function blocks within the LLM first-class. Sheaf seems uniquely suitable to this. Embedded a Sheaf engine inside an LLM described in Sheaf...??!!

      Replies (1)
      1. Thanks! Have a look at CLEVR, it's pretty close to that. The neural network does the perception, and each query assembles a neural pipeline on top of it.

        It's a nice small example of Lisp's "code as data" applied to neural networks.

        https://github.com/sheaf-lang/sheaf/tree/main/examples/clevr