riker-rs / riker

Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
https://riker.rs
MIT License
1.02k stars 69 forks source link

Possibility of no_std alloc subset? #46

Closed boomshroom closed 5 years ago

boomshroom commented 5 years ago

I'm probably asking for something whose difficulty far outweighs its worth, but I'm personally attempting to create an OS kernel built on an actor system, which naturally doesn't support std. I figure, instead of reimplementing everything manually, it would be nice to be able to reuse some of the abstractions from this crate. Namely some of the key traits for the most part. From a cursory glance at the code, the most that the critical parts depend on seems to be Arc, which would be available with just alloc.

Feel free to close as Won't fix if this would be too much trouble for too little gain. I mostly just like seeing such a wide range of libraries that can be used in a freestanding environment.

boomshroom commented 5 years ago

Closing due to the lack of atomic channels for no_std. If someone finds a good implementation of mpsc channels that work in no_std, please let me know.