TypeScript
集里怎么说它
- 《用 AI 对抗 AI:一种不用读代码的编程语言 BAML》(07:22起):本集把它说成:在正确性和生产力之间平衡,但针对的是人类生产力;底下 JavaScript 留下了排序转字符串等一堆 baked-in 的 slop,在 AI 时代是埋雷。
- 《一个周末把几十万行代码从 Python 移植到 TypeScript》(00:12起):本集说说话人决定把整个几十万行的 Python 代码库在一个周末内移植到 TypeScript,并让它能跑、能部署。
- 《一个月2500个代码合并是怎么做到的:专访pstack作者Potato》(28:48起):两人共同的背景:嘉宾用类型收窄类比代码库约束——把空间收窄到只有一种可能,让写坏代码变得困难
① 提到它的金句
6 条
对我来说,与 LLM 合作的一个有争议的观点是不要使用 TypeScript,使用纯 JavaScript,使用 JSX。
指向原始笔记的链接
Controversial take for me working with LLMs is don’t use TypeScript, use plain JavaScript, use JSX.
—— Maor Shlomo · [71:46]
所以那大概算是比较不讲道理的事情之一,比如,对,就把这整个 Python 代码库移植到 TypeScript,让它跑起来、能部署,就在一个周末之内。
指向原始笔记的链接
So that probably ranks on like the more unreasonable things like, yeah, just port this entire Python code base to TypeScript, get it working, get it deployable in, you know, a weekend.
—— 嘉宾 · [00:41]
在欧洲的 AI Engineer 大会上,Cursor 做了一个很棒的演讲,讲他们如何用 200 行 agent 文件替换了大约 12000 行 TypeScript 代码来实现类似的东西。
指向原始笔记的链接
So at AI engineer in Europe, Cursor did a great talk on how they replaced roughly 12,000 lines of TypeScript code with 200 lines agent files to create something similar.
—— Philipp Schmid · [15:25]
对我们来说,TypeScript Go 让构建获得了 10 倍提升——在智能体运行自动化 PR、需要 CI-CD 循环来获取反馈改进代码的规模下,这是一个巨大的提升。
指向原始笔记的链接
And for us, TypeScript Go was a 10 times improvement in our builds, which at the scale of automatic PRs running with agents and them needing that CI, CD loop for feedback to improve the code is a massive improvement.
—— Harald Kirschner · [07:36]
我们写了 Strands 的 Python 版本。然后 Strands 的 Python 版本自己写出了 Strands 的 TypeScript 版本。
指向原始笔记的链接
And we wrote the Python version of strands. And the Python version of strands wrote by itself the TypeScript version of strands.
—— Sandhya Subramani · [19:45]
但这是不需要 50 万行你需要搬过来的 Python 或 TypeScript 代码的 loop engineering,那样你的智能体才能真正互相提示工作。
指向原始笔记的链接
But it’s loop engineering without 500,000 lines of a Python or TypeScript code that you need to bring over so your agents can actually prompt each other for work.
—— Vlad Luzin · [15:45]
② 出现在这些集
3 集
- 《用 AI 对抗 AI:一种不用读代码的编程语言 BAML》 — 作为概念
- 《一个周末把几十万行代码从 Python 移植到 TypeScript》 — 作为概念
- 《一个月2500个代码合并是怎么做到的:专访pstack作者Potato》 — 作为概念(提及)
③ 关联
点进去有真内容 —— 本页主要出口
智能体 · Python · Vaibhav Gupta · Claude Code · Poteto · BAML · Bun · Cursor · 垃圾话 · 动态工作流
