| An OS with no threads: The Actor Model(timdbg.com) | |
| 348 points by ingve 1 day ago | 155 comments | |
tl;dr: DbgOS is a from-scratch Rust OS built entirely around the actor model, where every component is an isolated actor communicating via messages, with no threads, no shared writable memory, no locks, and no blocking—handlers must run to completion within a bounded time. This design eliminates concurrency bugs by construction and enables powerful hot-swapping: because actors have strong data partitioning and all persistent state uses schema metadata, entire modules (drivers, UI, apps) can be swapped at runtime with automatic data migration. The tradeoff is manual stack management for CPU-intensive work, which the author argues is increasingly tolerable with LLM-assisted coding. | |
HN Discussion:
| |