Show HN: I made a Clojure-like language in Go, boots in 7ms / 显示HN :我在Go中制作了一种类似Clojure的语言,在7毫秒内启动

📰 2026-05-10 08:00 更新

🔸 Show HN: I made a Clojure-like language in Go, boots in 7ms / 显示HN :我在Go中制作了一种类似Clojure的语言,在7毫秒内启动

🔗 Show HN: I made a Clojure-like language in Go, boots in 7ms
🔥 67 points

原文:
Greetings loafers! (λ-gophers haha, get it?) This is a bytecode compiler and VM for a language closely resembling Clojure, a Clojure dialect, if you will. The smallest and fastest-starting Clojure-family language in Go — a single ~10MB binary with ~7ms cold start. Standalone executables — compile your program into a single binary with lg -b myapp main.lg. No runtime needed, just distribute and run. WASM web apps — compile your program to a self-contained HTML page with lg -w outdir main.lg. F…

译文:
打招呼的乐福鞋! ( λ-gophers哈哈,明白了吗? )这是一个字节码编译器和虚拟机,用于非常类似于Clojure的语言, Clojure方言,如果你愿意的话。Go中最小、启动最快的Clojure系列语言—单个约10MB二进制文件,冷启动约7毫秒。独立可执行文件—使用lg -b myapp main.lg将您的程序编译为单个二进制文件。无需运行时,只需分发和运行即可。WASM Web应用程序—将程序编译为self-c 包含lg -w outdir main.lg的ontained HTML页面。F…


自动更新 · 正文抓取 · 双语翻译

Leave a Comment