WebAssembly-compiled Linux kernel (`unkernel`)
Raw Developer Origin & Technical Request
GitHub Issue
Nov 23, 2026
## Versions
- unkernel npm `0.2.0-261119-040e142`, its bundled kernel.
- Node 26.10.0 on macOS arm64. The check that refuses is in the core shared by the Node and browser entry points
(`checkWorkerOptions`), so a browser behaves the same; that was read, not run.
## Summary
`createKernel({ net })` accepts a `NetBackend` object, which lets the embedder decide per connection where the guest's
`connect({ host, port })` goes. That works with the kernel on the calling thread. With `worker: true` it is refused, because an
object cannot cross to the worker, and the only backends a worker accepts are the two built-in plain-data kinds (`direct` and
`wisp`).
An embedder that must keep the kernel off the main thread (a browser application: every guest cycle would otherwise compete
with the page) therefore cannot route guest connections itself. The only seam left is to point the `wisp` backend at a WebSocket
server of its own and speak Wisp, which adds a protocol hop and loses two things the `NetBackend` interface could carry (below).
## Steps
1. `npm i unkernel@0.2.0-261119-040e142`
2. Save the script below as `worker-net-backend-repro.mjs` next to it and run `node worker-net-backend-repro.mjs`.
worker-net-backend-repro.mjs
```js
// A custom NetBackend works with the kernel on the calling thread and is refused with the kernel in a worker.
// Run: npm i unkernel && node worker-net-backend-repro.mjs
import http from "node:http";
import net from "node:n...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from pithings/unkernel.
Frequently Asked Questions
Market intelligence mapped to WebAssembly-compiled Linux kernel (`unkernel`).
What problem does WebAssembly-compiled Linux kernel (`unkernel`) solve?
What are the foundational technologies related to WebAssembly-compiled Linux kernel (`unkernel`)?
Engagement Signals
Cross-Market Term Frequency
Counts stored text matches for foundational terms like direct and WebAssembly in analysed public discussions. These counts do not measure adoption.
Stored text matches, not adoption or market-share measurements.
- direct: 76 records
- WebAssembly: 14 records
- WebSocket server: 3 records
- wisp: 2 records
- NetBackend: 1 records
- worker: true: 1 records
- calling thread: 1 records
- protocol hop: 1 records
SaaS Metrics