logoalt Hacker News

halfmatthalfcat • yesterday at 2:54 PM • 1 reply • view on HN

I absolutely love actors and what I really wish existed (and where Rust/Embassy/Ector get really close to and where QuantumLeaps has somewhat of a monopoly on) is a full embedded actor system toolchain.

Interrupts and timers are such native embedded concepts that fit into hardware, its literally a perfect fit for an actor system.


Replies

cestith • yesterday at 4:37 PM

One nice thing with an interrupt system handled through an actor system I suppose would the ability for an interrupt handler actor to optionally jump the line and put its messages at the front of another actor's queue while everything else is FIFO. If the input queue is external to the actor and managed by the OS (or actor library/runtime if running on top of a non-actor OS), this should be trivial to do.