busan

[decision_log]

Busan is an actor implementation for Rust that is currently under heavy development and is experimental in nature.


Raw Notes

Task Scheduler

Threading Model

Properties of Actors and Messages

Thoughts on behaviors

```rust let processor: Processor = processor(|msg: HelloActor| { // process the HelloActor message });

fn processor(f: Fn(T) -> ()) -> Processor { // create a wrapper around F that checks the Message against the type T via // protobuf reflection } trait Processor { fn matches(&self, msg: Message) -> bool; fn process(&self, msg: Message); } ```

rust let group = vec![behavior1, behavior2, behavior3];

open questions + How does this set of behaviors interact with the actor's state?