News for hackers. Stuff that matters.
Re:Show HN: Kameo – a Rust library for building fault-tolera... by rishav_sharan on Thursday October 03, 2024 @02:32AM (#41727867)
likely dumb question, but can this allow me to build trivial concurrent & parallel local apps? being able to parallelize the load across all the cores is important to me.
Re:Show HN: Kameo – a Rust library for building fault-tolera... by tqwewe on Thursday October 03, 2024 @03:09AM (#41728026)
Under the hood it uses tokio runtime. So as long as you enable `rt-multi-thread` feature flag in tokio, and use `#[tokio::main]`, then yes! Actors can run on multiple threads. By default tokio uses worker threads, equal to the number of threads on your machine.

In kameo, all actors run in a `tokio::spawn` task.