Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zonyitoo/coroutine-demo

Coroutine demo for Rust
https://github.com/zonyitoo/coroutine-demo

Last synced: 3 months ago
JSON representation

Coroutine demo for Rust

Awesome Lists containing this project

README

        

# Coroutine I/O Demo

This is a demonstration project for [coroutine-rs](https://github.com/rustcc/coroutine-rs).

## What is this for?

We are going to add a scheduler (work-stealing) into coroutine-rs, but we need to test before actually write it into the library.

## Goal

- [x] Asynchronous I/O with [MIO](https://github.com/carllerche/mio)

- [x] Single-threaded eventloop based Coroutine scheduler

- [ ] Multi-threaded eventloop based Coroutine sheduler (some weird bug need to be fixed)

- [ ] Network I/O library

- [ ] Synchronization between Coroutines (Mutex, CondVar, ...)

- [ ] Coroutine-local storage

- [ ] Windows support

## Known bugs

- [ ] Echo server may be blocked when enabling multi-thread mode

- [ ] Simple HTTP server cannot handle too much concurrent requests