xushiwei (@xushiwei) header
xushiwei (@xushiwei) profile picture

Creator of XGo (https://teapawt.org/t.co/i0rVuQXRRO) and LLGo. Our vision is to enable everyone to become a builder of the world. Qiniu Limited CEO.

Joined March 2007
Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)Photo by xushiwei (@xushiwei)
刚刚有人向我要个人简介。于是第一次给出了我未来十年想做到的:七牛云创始人兼 CEO,XGo 语言和 LLGo 编译器的创建者。我们的愿景是让每个人都能成为现实世界的构建者,缩短从想法到作品的距离,让 7 岁的小孩就有机会赚到现实世界中的金币。
49
8
8
328
152,568
我们将进入一个“不会编程 = 文盲”的时代。这句话我不是今天说的,已经说了五六年了,但它今天终于确定的来了。
3
13
1,800
xushiwei retweeted
LLGo: an LLVM-based Go compiler. Bindings map C/C++ libraries (LLAR Hub) and Python modules (preview, goplus/lib) to ordinary Go packages: go get, import, build with llgo.
1
1
4
397
llcppg 发布 v0.10.0,已经通过它完成了 clang、llvm 和 Python 的 C API 完整支持,这一切都是全自动的,不需要人工干预 - github.com/goplus/llcppg/rel…
2
1
11
2,811
过去一周多,可能以后被证明是AI推理部署史上天翻地覆的一周。 上个周末,我的本地机双5070ti试跑Qwen Flash,只能做到200 prefill,10decode。 今天,在Strata和我自制的PR的支持下,目前可以跑到2200/67,而且只需要一张卡。 即读写速度都提高了近十倍。 更好的消费卡比如4090/5090,当然也有幅度相当大的升级(目前5090在流式处理的支持下,速度已经开始逼近RTX6000,当然显存还是不足)。 这当然带来了消费级硬件的新一轮大涨价。如今,就连曾经无人问津的 32G B70英特尔显卡都卖断货涨价了。 2200/67的速度是什么意思? 今天除了deepseek,muse等少数模型,大部分API达不到这个速度。 而一个普通的家用游戏电脑就可以达到这个水平。 而这个水平,一周以前,只有5090,DGX spark,M3U这样的机器可以达到。 也就是说,在过去的一周多,全球的普通家用电脑带来了十倍于上周的AI产量。 这个增量,得益于deepseek- Qwen flash这种特殊设计,把智力分成了注意力,专家,和查表, 也得益于Strata这样优秀的架构,把整个处理流水线化,让不同的智力,存储在不同速度的存储设备中,在需要用时刚好抵达。 这对所有愿意拥有本地智力的人,当然是极大的利好。 也许模型层的设计,正在快速收敛到一个目前硬件条件下的最优解? 然而这对依赖出卖模型算力的生意,尤其是平庸的智力的商业来说,也可能是催命符。
买了5090和RTX 6000 pro的各位 才算是真正的慧眼,真正的成功
71
85
13
540
254,829
The idea of an intelligence explosion caused by recursive self improvement has been around for a long time but until very recently it did not seem imminent. Now many leading researchers think it may happen quite soon. You can read our paper about it here: casp.ac/reports/intelligence…
343
1,432
219
6,665
831,508
两年多过去了,llgo v1.0 已经发布了,预期下个月 llcppg v1.0 也将发布。有了 llgo + llcppg 这对组合,感觉 Go 社区突然拥有了全世界。当前 llcppg v0.9.3 其实对 C 的支持就已经很完善,光就这一点,已经可以释放巨大的生产力了。
进一步确信 llgo 的巨大潜力,它会超过官方的 Go。只花了 27 天,我们实现了 Go 的基础能力,实现了 Go 与 C 和 Python 的无缝对接。原本我计划到 v0.7 版本后进入小版本迭代,但是进步太大了,所以最终决定版本号升到 v0.8 - github.com/goplus/llgo
1
10
2,762
发布了 llcppg v0.9.3 (github.com/goplus/llcppg/rel…)。 其实新版 llcppg 是上个月 6 号开始的,到现在总共一个月还差 3 天,但是它对 C 的支持证明很完善了。光只是 C 的支持 其实 llgo + llcppg 这对工具就已经足够释放巨大的生产力。
给 llcppg v1.0 (github.com/goplus/llcppg) 设定了目标,包括截止时间及业务期望
2
733
给 llcppg v1.0 (github.com/goplus/llcppg) 设定了目标,包括截止时间及业务期望
2
1
2
8
1,879
其实对 C 支持以及很完善了,目前已经转好了 clang-c 及 llvm-c,见: - pkg.go.dev/github.com/llarhu… - pkg.go.dev/github.com/llarhu…
3
401
LLGo v1.0 终于发布了 - github.com/xgo-dev/llgo
目标会很大程度决定事情的成败,llvm go compiler 就是一个很典型的例子:gollvm、tinygo、llgo 都是 llvm go compiler,但是目标完全不同。gollvm 看起来就是要做一个基于 llvm 为后端的 Go,tinygo 是要把 Go 带到嵌入式市场,而 llgo 则是要让 Go 完美融入 C 生态。目前 gollvm 开发已经停滞,实际上更根源的因素是团队没有找到它存在的意义,难道就是为了造出另一个 Go?tinygo 目前还是比较活跃的状态,但整整 6 年了,tinygo 还并没有完全生产 ready(为什么?),这才有了 llgo 的诞生。
8
1,843
xushiwei retweeted
LLGo v1.0 is out — a Go compiler built on LLVM that aims to be a drop-in replacement for gc. Key highlights: ✅ Full Go 1.26 syntax + cgo, validated against upstream `GOROOT/test` ✅ 1:1 goroutine→OS thread mapping = zero-overhead C calls (no cgo tax) ✅ Reuses Go's stdlib directly, not a forked & trimmed copy ✅ Native / WASM / Embedded targets — Linux, macOS, ESP32, and more ✅ BDWGC with optional `nogc`; LLDB + DWARF debugging ready Unlike TinyGo (embedded/WASM only), LLGo targets full-domain Go and aims for C/C++/Python/JS ecosystem interoperability. #GoLang #LLVM #Compiler #OpenSource #XGo #LLGo github.com/xgo-dev/llgo
3
1
5
572
xushiwei retweeted
🚀 XGo just dropped a massive update! ✨ What's new: • Enum types — declare in funcs, auto type conversion, cross-type same names • Static members — full parser + AST support • Function decorators — grammar + semantic, Python/TS vibes 🐍 • Flat mode for the class framework XGo is blending Go's performance with modern language ergonomics. If you've been waiting for Go to feel more expressive — this is your sign. 🔗 github.com/goplus/xgo/releas… #Go #GoPlus #XGo #ProgrammingLanguages #OpenSource #Golang
1
1
5
619
我在tgo杭州的演讲:AI就是个人或组织的外挂。打游戏有人开挂你不开,那你就只能被虐,不是你想不想用的问题,是竞争对手用了你没得选 - mp.weixin.qq.com/s/Jde4nr1E5…
1
3
1,477
github.com/goplus/xgo/releas… - XGo 发布了 v1.7.2,这个版本主要做了一个重构。XGo 在 Go 支持模版前自己写了一个支持模版的类型系统,这个版本把它删除了,换成了 Go 自己原生的模版类型。
3
989
xushiwei retweeted
Replying to @icanvardar
👋 1h prompt cache is nuanced actually. It costs more for cache writes, and less for cache reads. Whether you benefit from cheaper cache reads depends on your usage pattern -- context window size, whether the query is the main agent or subagent, etc. We have been testing a number of heuristics to give subscribers better prompt cache hit rates, which means lower token usage and lower latency, when it works. But this effect is far from uniform due to the nuance above. Say you use 1h cache for an agent, but only used the agent to make a single query -- in this case the 1h cache would be wasted and you'd be overcharged. At this point we have rolled out 1h prompt cache by default in a number of places for subscribers to optimize cache duration based on real usage patterns, but we actually keep it at 5m for many queries also (eg. subagents, which are rarely resumed so you'd be paying for them even though they do not benefit from 1h). We also are not defaulting API customers to 1h yet -- this needs more testing to make sure it's a net improvement on average. Separately, when we do this kind of experimentation, we use experiment gates that are cached client-side. When you turn off telemetry we also disable experiment gates -- we do not call home when telemetry is off -- so Claude reads the default value, which is 5m. We will soon be changing the client side default to 1h for a few queries, since we now feel good that it is a small token savings on average for those queries. We will also give you env vars to force 1h and 5m. In any case, the token savings is nowhere near 12x unfortunately. It is a small win though, that we have been in the process of rolling out to everyone. Hope the explanation helps. More here: platform.claude.com/docs/en/…
42
53
26
1,013
309,861