actors icon indicating copy to clipboard operation
actors copied to clipboard

Actor-like concurrency for Rust.

actors

WARNING: Abondoned. I am not planning to work on this anymore.

Look at tokio and the underlying futures for nice event loop based concurrency paradigms.

--

A rust library to provide actor-like message-based concurrency.

Build Status

API Documentation

Warning: This library is in a very early stage, it is not recomended for production and all APIs are subject to change.

Goals:

  • Message-based state manipulation.
  • Deal with failure by allowing actor supervision.
  • Light-weighed: Each actor should consume only few resources.
  • Multi-plex actor execution efficiently upon thread-pools.
  • Composable: Do not try to solve everything at once.
  • Rusty: Use features available in this beautiful language.

Non-Goals:

  • Transparent network communication/distribution as part of this library.

Usage

Add this to your Cargo.toml:

[dependencies]

actors = "0.1"