外部精选
软件工程
#开发者实时流Vibecoding an LLVM TypeScript Compiler
Quick Intro: I'm a TypeScript lover, and I'm on holiday. I was bored.I had a wild idea: why can't I vibe code an AOT compiler for TypeScript?However, the language is not strictly 1-1 typescript implementation; it's a su…
Hacker News 最新harishd302026/10/20 · 17 天前3 分钟阅读
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Quick Intro: I'm a TypeScript lover, and I'm on holiday. I was bored.I had a wild idea: why can't I vibe code an AOT compiler for TypeScript?However, the language is not strictly 1-1 typescript implementation; it's a subset with the features I want.This language was meant to write backend APIs and Microservices.I wanted to have
- ARC Memory Management like Swift
- Multithreaded task-based async (Like C# or Tokio in Rust)
- Strictly Typed
- Decentralized Package management like Golang (Hate node_modules)
- Good std libraries like GolangI began using Inkwell LLVM since I was much better at reading Rust than C++. However, it wasn't that great, so I switched to LLVM's default C++.I got a basic web API running with SQLiteI gave the agent a VPS to benchmark against Node, Bun, Golang with zero optimizations.Benchmark: https://www.marina-lang.org/benchmark (I was expecting it to perform worse, but it did better) [Benchmark Before C++ Migration]Stack used Model: GLM 5.3 Flash + Grok 4.7 Cost: ~$10Should I continue this project? Anyone interested? (Github: https://github.com/marina-lang-hq/marina)Examples at: https://github.com/marina-lang-hq/marina/tree/main/examplesPS: I haven't used C++ in production. Neither this is project is production ready. It's just a fun experiment. Comments URL: https://news.ycombinator.com/item?id=50162270 Points: 1
Comments: 0
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。