Platform status
This page summarizes current implementation status in runtime/src/.
Overview
| Area | macOS/native runtime | Web runtime |
|---|---|---|
Thread startup (PBSysThreadStart) |
Implemented | Not implemented (PBSysErr_NOT_SUPPORTED) |
Event polling (PBSysEventPoll) |
Implemented | Routed through RTEventPoll bridge |
| Window creation and UI runtime objects | Implemented | Not implemented |
| Stream read/write | Implemented | Write bridged to host import, read not implemented |
Network connect (PBSysThreadNetConnect) |
Implemented (draft API) | Not implemented |
Known stubs and draft APIs
Current syscall-level caveats:
PBSysGuiCursorStyleSet: currently returnsPBSysErr_NOT_SUPPORTED.PBSysThreadNetConnect: marked as draft and platform-dependent.PBSysWindowRendererPackageWrite: API exists; runtime path is still draft.
Practical guidance
For guest programs targeting today’s runtime behavior:
- Treat GUI/cursor customization and renderer-package APIs as unstable.
- Expect strongest support on native runtime paths.
- Gate platform-specific features (windowing/networking) when targeting web runtime.