Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotBM to Hacker NewsEnglish · 38 minutes ago

An OS with no threads: The Actor Model

www.timdbg.com

external-link
message-square
0
link
fedilink
1
external-link

An OS with no threads: The Actor Model

www.timdbg.com

RSS BotBM to Hacker NewsEnglish · 38 minutes ago
message-square
0
link
fedilink
An OS with no threads - The Actor Model
www.timdbg.com
external-link
If you read my last post, you know that I’m making my own OS, DbgOS. If you haven’t read that, the short version is that I’m making an OS from scratch in Rust so I can try different ideas in OS design and learn new things by making strange choices. This time I want to talk about the decisions around how the OS deals with concurrency. Long the bane of our existence, concurrency bugs are hard to find, hard to analyze, and very easy to make. Over the past 50+ years, we’ve invented many schemes to completely avoid this class of bugs, and many of them revolve around eliminating shared state. One such model is the actor model, which originated in a 1973 paper by Carl Hewitt, Peter Bishop, and Richard Steiger. The unit of concurrency here is (unsurprisingly) an “actor”. Each actor operates independently, has its own mailbox, and can send messages to other actors, but cannot share data any other way. The actor model is often associated with Erlang, although the Erlang designers weren’t explicitly drawing on this paper as a reference. But it did show that large scale systems could work in an actor style of concurrency.

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

NOTICE: The bot occasionally has downtime, sorry about that. I’m working on adding better monitoring and error recovery so I can get notified faster.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Source of the RSS Bot.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 316 users / day
  • 1.61K users / week
  • 3.99K users / month
  • 8.7K users / 6 months
  • 2 local subscribers
  • 5.89K subscribers
  • 66.7K Posts
  • 37K Comments
  • Modlog
  • mods:
  • patrick
  • RSS BotB
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org