开发者 Pooya Parsa 于 2026年11月19日发布了基于 WebAssembly 技术编译的 Linux 内核引擎 unkernel,该引擎随后被集成至 trynix.dev 服务中 1。这一技术方案替换了原有的 QEMU 模拟引擎,使得整体性能提升了 2 倍到 32 倍 1。目前,用户可以在 trynix.dev 上启动包括纸牌游戏、GL gears、xeyes、语音应用、天气查询工具以及 Firefox 浏览器在内的多种图形界面程序 1。
unkernel 的核心机制是将 Linux 内核及系统组件编译为 WebAssembly 以利用其速度优势,而用户程序仍保持模拟运行状态 1。该系统支持 Wayland 表面合成、Mesa/virgl WebGL2 渲染、ALSA 声音卡片以及通过 WebSocket 实现的 TCP 网络通信(Wisp relay) 1。为了展示其能力,开发者演示了在 trynix.dev 内的 Firefox 实例中再次加载 trynix.dev 页面,并在此基础上进一步加载另一个 Firefox 的递归场景 1。尽管该演示耗时超过一小时才完成渲染,但这一事件标志着 Jeff Atwood 提出的“任何可以用 JavaScript 编写的应用,最终都会用 JavaScript 编写”这一法则所预言的场景提前到来 1。
Developer Pooya Parsa released the "unkernel" engine on November 19, 2026 1. This technology compiles the Linux kernel into WebAssembly and replaces the previous QEMU simulation engine used by the trynix.dev service 1. The switch results in a performance improvement ranging from two to thirty-two times faster than the prior implementation 1. While user applications continue to run via emulation, only the core kernel and system components utilize WebAssembly speed 1.
The updated trynix.dev platform now supports launching graphical interface programs directly in the browser, including solitaire, GL gears, xeyes, voice playback, weather queries, and Firefox 1. These features are enabled by Wayland surface compositing, Mesa/virgl WebGL2 rendering for graphics, ALSA sound card support for audio, and TCP-over-WebSocket networking through a Wisp relay 1. In a recursive demonstration, users can load Firefox inside trynix.dev and navigate that internal browser back to trynix.dev to launch another instance of Firefox; this process took over an hour to complete the full render cycle 1. This development aligns with Jeff Atwood’s law, which states that any application that can be written in JavaScript will eventually be written in JavaScript, suggesting the prediction of JavaScript dominating software development may have arrived earlier than anticipated 1.
评论
还没有评论,欢迎留下第一条。