An OS with no threads: The Actor Model

(timdbg.com)

25 points | by ingve 1 hour ago

3 comments

  • frumiousirc 3 minutes ago
    An interesting project, I say as a fan of actor pattern at the application level.

    > A single handler execution has a limited time window and must run to completion in a small time window. The kernel enforces this by killing any instance that exceeds the limit.

    And then what? If the actor was in the process of writing a file, what is left of the bytes on disk? Does another or the same actor get restarted to complete the write without introducing corruption?

    Also, how does this system handle multi-threading inside an actor? The prior post says Linux apps are supported so it's not just actors all the way down. Do multi-threaded Linux programs starve the OS?

    And what is the shape of the OS kernel? Presumably there is a core monolith that handles message passing and execution. Is it ignorant of the hardware? "I can change out a graphics driver, storage driver, or an application all without a reboot" implies the answer is "yes". But, that can't be the whole answer because the core must know about hardware resources in order to know how to execute and kill actors.

    Maybe a follow up post covering these core OS issues?

  • bearcatty 10 minutes ago
    [dead]
  • signa11 33 minutes ago
    perhaps it is time to discuss the torvalds-vs-tannenbaum debate once again in $CURRENT era ?
    • hnlmorg 23 minutes ago
      Were they talking about actor models too?

      I remember the debates about monolithic vs microkernel designs. But it was so long ago that I can’t remember any of the specifics.

      • mrkeen 19 minutes ago
        Yeah, the thrust of the pushback was something along the lines of "great, your individual modules are small enough to reason about individually, but now you've dumped too much complexity into the communication channels instead"
      • signa11 19 minutes ago
        > ... debates about monolithic vs microkernel designs

        message passing was the mechanism underneath the debate, and not the headline afaik.