@davidtolnay in your blog post "Await a minute" you showed an example of ServiceFramework. It looks a lot like Twitter Finagle but in Rust and with async Thrift support. Is any of this code opensource?
Custom code generator and runtime for Rust. A thrift "service" compiles to an async trait (https://github.com/dtolnay/async-trait …) where each service method is an async fn. A server is a handwritten impl of the trait, client is a generated impl that talks over a pluggable protocol+transport.
-
-
First code snippet in the article is from the server-side codegen.
-
Thank you. Did you extend Thrift's code generator or did you write your own parser and generator? Twitter's Scrooge has a custom parser for example.
- 1 more reply
New conversation -
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.