Wasmer 的工程师今年取得了一项突破:他们找到了在 WebAssembly 沙箱中运行 Node.js 工作负载的方法,让开发者无需 Docker 即可运行 JavaScript 应用、MCP 和智能体。如果没有 Codex,这项工作需要一年时间,但有了 Codex,只用了两周。现在,他们是首家在边缘层提供完整 Node.js 的云主机。
“我们实际上正在走出 IDE 本身。我们不再过多触碰代码,只是引导它走向我们想要的方向。”
——Syrus Akbary Nieto,创始人兼首席执行官
以焕然一新的雄心构建
Wasmer 是一家年轻的公司,团队规模小,目标却很大:打造一个跨本地和全球环境、无平台限制的边缘计算平台。
“我们承担的项目极其雄心勃勃,没有 AI 的话,要花很长时间才能完成,”创始人兼首席执行官 Syrus Akbary Nieto 说,“现在,事情变得简单多了,也快多了。”
这种简单和速度直接转化为一个突破性项目:Edge.js(在新窗口中打开),一个能在 AI 和边缘计算中运行 Node.js 工作负载的 JavaScript 运行时。
这是团队长期想做但一直缺乏资源的项目。“这里的每个人技术都非常过硬,但我们就是没有时间投入到这些项目上。而现在,我们可以推出以前不可能实现的新产品,”Nieto 解释道。
有了 Codex,Wasmer 工程师可以成倍放大他们的努力。“我们的开发速度至少提升了 10 到 20 倍,”Nieto 说。
“我们仅用两周就创建了一个 JavaScript 运行时。没有 AI 和 Codex 的话,我们很容易需要一年时间。”
——Syrus Akbary Nieto,创始人兼首席执行官
跨语言和代码层级的推理
和许多团队一样,Wasmer 的工程师最初对 AI 持怀疑态度。“一开始我们不太信任 AI 的输出,”Nieto 解释道。但当团队开始尝试时,结果超出了他们的预期。“在过去一年,尤其是最近几个月,我们一直在使用 Codex,效果真的非常好。”
随着 Codex 推理能力的提升,Wasmer 工程师花在“手把手指导”上的时间越来越少。“我们实际上正在走出 IDE 本身,不再过多触碰代码。我们只是引导它走向我们想要的方向,”Nieto 说。
团队从项目开始到结束全程使用 Codex,从构建初始架构模块到打磨最终产品。在整个过程中,Codex 帮助团队发现 bug 并定位根本原因。
“有些 bug 我们根本没想到会出现,一旦开始发现它们,Codex 就直接进入调试模式,”Nieto 说,“让我们印象深刻的是,它从调试到找到根本原因并确定解决方案的速度有多快。”
Nieto 解释说,通常开发者需要特殊专业知识才能发现许多这类 bug。但 Codex,“能够掌握控制台日志来追踪调用,以及像 LLD 这样的底层调试器,它能访问汇编级别的内容。Codex 可以深入到非常底层,看到代码之下发生了什么。”
“有些细微之处我们并不了解,因为我们不是 C++ 专家。Codex 很早就发现了它们。”
——Syrus Akbary Nieto,创始人兼首席执行官
让不可能变为现实
Nieto 解释说,在 Edge.js 之前,不可能在边缘运行 JavaScript 运行时。而在 Codex 之前,Wasmer 团队也不可能在如此短的时间内承担如此雄心勃勃的项目。
“Codex 让一家小公司实现了只有大公司才能做到的事情。没有它,这个项目根本不可能完成,”Nieto 说。
雄心被激发后,Wasmer 团队正着眼于更大的项目。“现在,我们手头有了以前不可能实现的东西。我们需要去解决更具挑战性的问题,”Nieto 说。
Engineers at Wasmer experienced a breakthrough this year: They figured out how to run Node.js workloads inside a WebAssembly sandbox, enabling developers to run JavaScript apps, MCPs, and agents without Docker. This effort would have taken one year without Codex, but with Codex, it took two weeks. Now, they’re the first cloud host to provide full Node.js at the edge layer.
“We are actually moving out of the IDE itself. We’re not touching as much the code, we are just guiding it where we want it to go.”
—Syrus Akbary Nieto, Founder and CEO
Building with renewed ambition
Wasmer is a young company with a small team and a big goal: an edge computing platform that scales across local and global environments without platform restrictions.
“The kinds of projects that we are taking on are incredibly ambitious, and it would have taken us ages to do them without AI,” says Syrus Akbary Nieto, Founder and CEO. “Now, things are way simpler and faster.”
That simplicity and speed translated directly into a groundbreaking project: Edge.js(opens in a new window), a JavaScript runtime that can run Node.js workloads for AI and edge computing.
It’s a project the team had long wanted to take on, but they didn’t always have the resources to do it. “Everyone here is very, very technical, but we just didn't have the time to dedicate to these projects. And now, we can launch new products that would have been impossible before,” explains Nieto.
With Codex, Wasmer engineers can multiply their efforts. “We have increased development speed by 10x to 20x, at least,” says Nieto.
“We were able to create a JavaScript runtime in just two weeks. Without AI and without Codex, it would have taken us easily one year.”
—Syrus Akbary Nieto, Founder and CEO
Reasoning across languages and levels of code
Like many teams, Wasmer engineers were initially skeptical of AI. “We were not very trusting of AI outputs at the beginning,” explains Nieto. But when the team started experimenting, the results exceeded their expectations. “Over the last year, and especially over the last few months, we have been working with Codex, and the results have been really, really good.”
As Codex’s reasoning abilities evolve, Wasmer engineers spend less and less time with handholding. “We are actually moving out of the IDE itself, and we are not touching the code as much. We are just guiding it where we want it to go,” says Nieto.
The team used Codex from the very beginning of the project to the very end, from building the initial architectural building blocks to polishing the final product. Throughout, Codex helped the team find bugs and identify their root causes.
“There were certain bugs that we didn’t imagine we were going to have, and as soon as we started discovering them, Codex went directly into debugging,” Nieto says. “The impressive thing for us was seeing how fast it went from debugging to finding the root cause and identifying the solution.”
Typically, Nieto explains, developers would need special expertise to find many of these bugs. But Codex, Nieto says, “was able to master console logs to trace calls and a low-level debugger like LLD, which accesses things on the assembly level. Codex can get very low level, and see what is happening under the code.”
“There are certain subtleties that we don't know of because we are not experts in C++. Codex was able to spot them pretty early.”
—Syrus Akbary Nieto, Founder and CEO
Making the impossible practical
Before Edge.js, Nieto explains, it wasn’t possible to run a JavaScript runtime at the edge. And before Codex, it would have been impossible for the Wasmer team to take on a project this ambitious and with this timeline.
“Codex enabled a small company to achieve things that were only possible at big companies. This project literally would have been impossible without it,” says Nieto.
With their ambitions emboldened, the Wasmer team is looking ahead to even bigger projects. “Now, we have at hand things that were not possible before. We need to look at even more challenging problems,” says Nieto.
本文内容采集自官方网站,排版和翻译可能与原页面存在差异。
阅读官方全文