{"by":"marcingas","descendants":85,"id":48076815,"kids":[48079017,48080630,48079008,48080767,48082380,48081033,48087074,48087421,48133361,48145604,48078777,48079387,48078923,48081941,48080213,48082098,48083851,48083163,48084704,48082802,48080838,48079874,48077661,48085391,48083852,48087868,48079276,48084227,48084226,48082520,48082523,48079278,48084230,48086195,48079654,48079669,48079626],"score":292,"text":"Let-go is a Clojure-like language (~90% compatible with JVM Clojure) written in pure Go. It ships as a ~10MB static binary and cold boots in ~7ms - that&#x27;s about 50x faster than JVM and 3x faster than Babashka. It has decent throughput on algorithmic workloads - within ballpark of the GraalVM-backed sci.<p>I started this project in 2021 as an elaborate practical joke: I wanted to have an excuse for writing Clojure while pretending to write Go.<p>Jokes aside, it turned out to be pretty decent: it feels like real Clojure, it has an nREPL server (supported in Calva, CIDER, etc.), it&#x27;s easily embeddable in your Go programs (funcs, structs and channels cross the boundary without fuss). It&#x27;s good for writing CLIs, web servers, data processing scripts and even doing some systems programming - I used it to write a deamonless container runtime. Oh, and it runs on Plan9.<p>Under the hood there is a fairly simple compiler and a stack VM, both handcrafted specifically for running Clojure-like code. The compiler can work in AOT mode producing portable bytecode blobs and standalone binaries (runtime+bytecode).<p>This is not a drop-in replacement for Clojure in general - it does not load JARs, it does not have all Java APIs and it most probably won&#x27;t run your exiting Clojure projects without modifications. At least not at the moment.<p>Take it for a spin, tell me what you think. Issues and PRs are welcome!","time":1778349133,"title":"Show HN: I made a Clojure-like language in Go, boots in 7ms","type":"story","url":"https://github.com/nooga/let-go"}