|
@papertigerss | |||||
|
Decided to write a basic TCP proxy using #rustlang and @asyncrs this weekend as an excuse to play with async/.await. Here’s the link so people can send me some feedback on how to make it better! github.com/papertigers/pr…
|
||||||
|
||||||
|
Daniel Carosone ⬡ 🇸🇪 🇮🇹 🇦🇺
@redtwitdown
|
22. sij |
|
First impression: very nice and simple at the top level. I suspect there is a way to avoid all the byte copying using streams - but maybe not just yet?
|
||
|
|
||
|
Florian Gilcher ∠(・.-)―〉 →◎
@Argorak
|
22. sij |
|
As far as I understood, most of the copying happens because it wants to count the traffic. You could maybe find a stream abstraction for that, but I'm not sure if that's worth the effort. github.com/papertigers/pr…
|
||
|
|
||
|
Mike Khirallah
@MKrallaPro
|
22. sij |
|
Really clean! I especially like the simplicity of your async fn pipe. When I was building an ext. for async bufreader in @asyncrs I felt like there was still a lot of friction extending functionality using futures/async. Maybe mine was just a uniq case github.com/mkralla11/asyn…
|
||
|
|
||