任何可以用系统语言编写的应用程序,最终都会被。
Any application that can be written in a system language, eventually will be

原始链接: https://www.avraam.dev/blog/system-language-corollary

## 新定律:从阿特伍德定律到系统语言 杰夫·阿特伍德在2007年的预测——“任何可以用JavaScript编写的应用,最终都会用JavaScript编写”——源于其易用性。JavaScript的普及性胜过了性能。然而,一股新的力量正在出现:经济压力和人工智能的崛起。 作者提出了一条新的“定律”:**所有*可以*用系统语言(如Rust或Go)编写的代码,*最终都会*由LLM用系统语言编写。** 虽然Python和JavaScript等语言不会消失,但它们运行时效率低下带来的成本在无服务器环境中变得难以承受。Rust和Go提供了显著更好的性能和更低的资源消耗。 历史上,陡峭的学习曲线阻碍了采用。但LLM正在改变这一点,由于Rust等语言的严格约束,它们在系统级编程方面表现出色——编译器充当内置的错误检查器,减少了动态语言中常见的幻觉。 这并不意味着重写现有的应用程序,而是对于新项目,平衡已经发生了变化。预计Python仍将在AI驱动的逻辑方面保持强大,而应用程序的关键“肌肉”将越来越多地使用Go和Rust构建。

任何可以用系统语言编写的应用程序,最终都会被编写出来 (avraam.dev) 8 分,almoner 发表于 1 小时前 | 隐藏 | 过去 | 收藏 | 1 条评论 n_u 发表于 18 分钟前 [–] 这是我第二次学习 Rust,我发现 LLM 改变了游戏规则。它们非常擅长提出解决借用检查器问题的方案,对于 Rust 初学者来说,这些问题很难诊断。特别是,一行代码上的错误可能迫使你更改代码的大部分。作为初学者,这可能会让人望而却步(“我真的需要更改所有使用这个结构体的地方来使用借用而不是所有权吗?这会在其他地方引起错误吗?”),我发现这导致我陷入了分析瘫痪。与 LLM 讨论我的选择让我有信心进行重大更改。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Ok, the title of this post may seem provocative, kinda clickbaity but here is the thing, 19 years ago (2007) Jeff Atwood wrote his famous blog post where he declared that "Any application that can be written in JavaScript, will eventually be written in JavaScript.", coined the now-famous Atwood's Law. It was a a blog post based on an even older one from Tim Berners-Lee on the Principles of Design and his axiom/rule of least power.

It was a prophetic observation about accessibility. JavaScript wasn't the fastest or the most elegant language, but it was the most available. It ran everywhere the web ran. Accessibility won. We saw JavaScript everywhere, on the web, on the server with Node, on IoT devices, on Desktop with Electon, on Mobile with React Native, on Enterprise automation with Google Apps Script, even on Machine Learning applications with Tensorflow.js... even on places where the core is not written in JS like blockchain and NoSQL DBs, Javascript became the defacto choice as interface.

Atwood's Law

For years, we defaulted to interpreted languages for greenfield projects because developer time was expensive, and compute was cheap. We optimized for "writing speed," not "running speed.". In 2026, that math has broken.

Also for years we had numerous debates about which language is "the best" (a pointless debate IMO), in 2026 devs write 90% of the code using natural language, through an LLM.

Today I believe we are seeing the emergence of a new corollary, driven by two entirely different forces, Economy & AI. So here I am to declare a new law: Everything that can be written in a system language, eventually will be written in a system language by an LLM.

Avraam's Law

I am not here to declare the death of Java, Ruby, JS etc etc, there are numerous articles the last 2 decades declaring their death and these languages are still here. However the accessibility of languages like Rust/Go has increased drammatically.

There are studies with benchmarks that saw for example that Python can be over 70x less energy-efficient than Rust. In a serverless world (AWS Lambda, Google Cloud Run), where you pay for every millisecond of execution and every gigabyte of memory, that inefficiency is a direct tax on your margins. For a new startup or a greenfield microservice, choosing a memory-hungry interpreted language is a decision to voluntarily pay a "runtime tax" forever.You can pack 10x the throughput onto the same hardware using Go or Rust compared to typical Python/Ruby app.

If you are building from scratch today, why would you choose a foundation that costs 10x more to run?

The counter-argument has always been the learning curve.

"Rust is too hard," they said. "Go is too verbose," they complained. "I can hire a Python/Java/JS engineer in a few days, a Rust senior takes six months to find." This was true. The borrow checker was a formidable gatekeeper, but this is where LLMs change the game. The "barrier to entry" argument is evaporating because AI agents are exceptionally good at being systems programmers, arguably better than they are at being dynamic language programmers. Why? Constraint is context.

When an LLM writes Python, it can hallucinate a variable or a method, and the code will look fine until it crashes at runtime. When an LLM writes Rust, the compiler acts as a ruthless adversarial network. It forces the model to be correct before the code ever runs.

We will see (or are seeing?) a trend where "Vibe Coding" is actually safer in strict languages.

The "difficulty" of writing Rust was mostly about managing memory and fighting the compiler. Now, the AI fights the compiler for you. The cognitive load of syntax is offloaded to the agent, leaving the human to focus on the architecture and the intent.

I am not suggesting we pause everything to rewrite our apps to Rust/Go. The "Rewrite Trap" is real, and destroying working software to chase a trend is usually a bad business decision. However, for greenfield projects, the calculus has shifted.

We are entering an era where the Brain of the application (the orchestration of models, the decision-making) might remain in Python due to its rich AI ecosystem, but the Muscle, the API servers, the data ingestion pipelines, the sidecars, will inevitably move to Go and Rust. The friction of adopting these languages has collapsed, while the cost of not adopting them (in AWS bills and carbon footprint) is rising.

It is simple math.

联系我们 contact @ memedata.com