Bedtime thought: perhaps secure scuttlebutt can be used as a distributed message queue replacing some of the more complicated solutions
-
-
Replying to @yoshuawuyts
Super rough sketch of what the Secure Scuttlebutt API could potentially look like in Rusthttps://gist.github.com/yoshuawuyts/1b59434bce5c66f8edc159e7d3df3eff …
1 reply 0 retweets 1 like -
Replying to @yoshuawuyts
My ability to Rust is still garbage-tier so don't judge me too harshly alright? Just sketchin the APIs like I always do
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
I suspect that using mio + sane way of creating callbacks + some pull-stream-esque callback nesting thing (possibly macro) rust could b node
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
I wonder how well callbacks would perform in Rust. Given enums + static typing I suspect the extra closure alloc should be fast enough
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
have you seen tokio? gives you promises as an interface, but turns them into a fast state machine under the hood
1 reply 0 retweets 1 like
hah yeah, tried it for a bit. I'm def less comfortable with future-style programming compared to callbacks hah
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.