Applets in a Browser¶
Applets run in a browser by splitting each into a native computation and a WebAssembly interface that draws from the data stream.
| Field | Value |
|---|---|
| ID | EMB-11 |
| Status | Planned |
| Scope | Supporting |
| Pillar | Web and Embedding |
| Sprint | None |
| Depends On | Whole Interface in a Browser (EMB-10)WebAssembly and Third-Party Applets ( SPC-21) |
| Unblocks | None |
| Docs | None |
| Branches | None |
| Design | Streaming and embedding, Applets in the browser |
Coverage Ledger¶
- design/platform-candidates.md, under Platform candidates. Phase 2 settles the split into native computation and WebAssembly interface; drawing pieces belong to the interface, computing pieces stay native.
- design/roadmap.md, under Phase 2: promote proven features. Phase 2 starts by settling one decision: every applet splits into a native computation and a WebAssembly interface, and interface code may use only services with a wire form; applets built before stay native-only.
- design/roadmap.md, under Streaming and embedding. Still to do 2.4: applets in the browser, through the split settled in Phase 2.
- design/streaming-and-embedding.md, under The web viewer. Order 4: applets in the browser through the split.
- design/streaming-and-embedding.md, under The web viewer. No computation runs in the browser; no second ML stack; an unported applet is shown only in the native app.
- design/streaming-and-embedding.md, under Applets in the browser. Every applet splits into a native computation and an interface compiled to WebAssembly; the SDK allows interface code only services with a wire form; earlier applets stay native-only.