hermit-os / hermit-rs

Hermit for Rust.
Apache License 2.0
1.66k stars 86 forks source link

Question: is there any async network feature available #114

Open sassman opened 3 years ago

sassman commented 3 years ago

Recently a PR landed on smoltcp that brought async support to the tcp stack. I'm not certain if libhermit-rs or rusty-hermit is directly exposing this api.

So my question: is there any support for async networking already? Particularly I'm interested in non blocking network IO / green threading when it comes to serving tcp traffic.

I went already thru the code base but couldn't find anything that looks like it, maybe I'm missing something?

stlankes commented 3 years ago

Currently not, I am working on it. I hope that this feature comes soon.

sassman commented 3 years ago

Oh nice! I think this will become a game changer when it comes to practicality and performance.

sassman commented 3 years ago

Is there something that one can support you with?

stlankes commented 3 years ago

Currently not, but I think that am able to upload a prototype soon. Afterwards, a review will be nice. :-)

stlankes commented 3 years ago

It need sometime, but a prototype is available at #117. However, it just a test version.