Skip to content

vitdevelop/future_epoll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Rust future executor with linux epoll

Rust

Futures implemented

Time

  • wait(seconds)

TCP

  • TcpServer::listen -> TcpServer
  • TcpServer.accept -> TcpClient
  • TcpClient.read -> usize
  • TcpClient.write -> usize

Usage:

Installation
git clone https://github.com/vitdevelop/future_epoll.git
cd future_epoll
Build release:

cargo build --release

Clean:

cargo clean

Run:

cargo run --release

Connect:

telnet localhost 8080

About

Simple Rust future(stackless coroutine or (finite) state machine) executor with linux epoll

Resources

Stars

Watchers

Forks

Languages