Wasmer 为在 iPhone 上运行沙箱化的 Python 和 Node.js 添加了 Swift SDK

iOS 后端在一个隐藏的 WKWebView 内使用 WebKit,要求 iOS 27 或更高版本,并且仍处于试验阶段;Wasmer 表示其演示应用尚未进入审核。

By · Published · Updated

Primary source: X

为何重要

Wasmer 正在通过依赖 WebKit 而不是捆绑一个单独的 Wasm 编译器,将其沙箱运行时调整以适应 Apple 的 iOS 限制。这使得在 Swift 应用内实现本地开发者工具成为可能,但 iOS 27 的要求、实验性状态以及未经审查的演示使得其分发和性能相关的主张仍有待证明。

A modern smartphone displays command-line code execution on its screen, resting on a minimalist desk with a subtle company logo on a nearby laptop.

Wasmer 于 9月23日 发布了一个 Swift SDK,允许应用开发者在 iOS 和 macOS 应用中嵌入 Wasmer 沙箱,将包括 Python、Node.js、FFmpeg 和 Clang 在内的工具带到 Apple 设备上。此项发布将 Wasmer 的 WebAssembly 运行时扩展到原生 Swift 应用,创始人兼首席执行官 Syrus Akbary (@syrusakbary) 将该发布呈现为朝着跨平台运行软件的又一步。

https://x.com/wasmerio/status/2102849543260029379

…

When you purchase through links in our articles, we may earn a small commission. This doesn’t affect our editorial independence.

Reader comments

Conversation for this story loads after sign-in.