# An OS with no threads: The Actor Model

- HackerByte page: <https://hackerbyte.net/en/stories/the-actor-model-is-an-abstraction-for-concurrency-and-communication-offering-a-d-50758542>
- Original source: <https://www.timdbg.com/posts/dbgos-actor-model/>
- Hacker News discussion: <https://news.ycombinator.com/item?id=50758542>
- Submitted to Hacker News: 2026-12-04T09:34:13.000Z

The actor model is an abstraction for concurrency and communication, offering a different approach from traditional thread\-based systems.

## AI-generated summary

The author is developing a custom OS in Rust called DbgOS, exploring alternative OS design concepts. This post focuses on DbgOS's concurrency model, which is based on the actor model. This approach eliminates threads entirely, relying on message passing between independent actors to manage concurrency and avoid shared state bugs. The OS enforces strict rules, such as no blocking operations and bounded execution times for message handlers, to enable robust features like hot\-swapping code modules without losing application state.

## Key points

- DbgOS uses the actor model for concurrency, eliminating traditional threads.
- Actors communicate solely through asynchronous message passing.
- Strict OS rules prevent shared writable memory, blocking, and re\-entrancy.
- These rules enable hot\-swapping of code modules and data migration.
- The actor model offers benefits like reduced memory overhead and improved state management.
