hermit-rs icon indicating copy to clipboard operation
hermit-rs copied to clipboard

Question: is there any async network feature available

Open sassman opened this issue 4 years ago • 5 comments

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?

sassman avatar Feb 15 '21 11:02 sassman

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

stlankes avatar Feb 15 '21 11:02 stlankes

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

sassman avatar Feb 15 '21 11:02 sassman

Is there something that one can support you with?

sassman avatar Feb 15 '21 11:02 sassman

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

stlankes avatar Feb 15 '21 11:02 stlankes

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

stlankes avatar Mar 22 '21 10:03 stlankes