dphilla/boxer
关于
Dockerfile → 通用 Wasm + 原生分发层
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- +8
- 15天
- +8
- 1个月
- +12
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Boxer
This project is under rapid development
Boxer
Overview
Boxer is an open-source project designed to reimagine cloud computing by transitioning from traditional container technology to WebAssembly (Wasm) based distributions, known as "Boxes" or "Wasm-Boxes".
Here's a recording of the talk that introduced the project at Wasm IO in 2025:
Motivation
While containers have been a cornerstone of cloud computing, providing isolated environments for applications, they come with significant drawbacks. They often result in larger, less efficient deployments with slower startup times and rely heavily on the underlying operating system/kernel for security, which can introduce vulnerabilities and platform lock-in.
Solution: Boxer
Boxer offers a new solution by providing tooling for converting existing containerized workloads and definitions into near-universally deployable Wasm distributions. These "Boxes" offer environments comparable to those provided by containers but are vastly more efficient thanks to the lightweight, sandboxed execution capabilities of WebAssembly.
Key Advantages of WebAssembly:
- Reduced Overhead: Wasm's compact binary instruction format ensures lightweight execution, drastically cutting down the overhead seen in traditional containers.
- Enhanced Performance: The efficiency of Wasm leads to improved performance and smaller, more efficient deployments, perfectly suited for cloud computing.
- Superior Security: Wasm's memory-safe, isolated execution environment provides a higher level of security, independent of the operating system.
- Run (almost) Everywhere Wasm can run a anywhere there is a WebAssembly runtime, including browsers, servers, and embedded devices; existing runtimes are available on for a wide variety of architectures.
Example
Dockerfile ➡ (Wasm)Box
For for this file:
FROM scratch
RUN mkdir -p /app
COPY a.out /app
WORKDIR /app
CMD ["/app/a.out"]
run box build -f Dockerfile
This will bring in libc interaces (as imports) and create the necessary FS state, thus declaritivey creating a ready-to-run Wasm binary.
探索相关项目
加载中…
