Tzu Gwo

Results 98 comments of Tzu Gwo

An alternative but simpler and more common, this makes it easy to let people know what is happened: ```rust use std::time::{Duration, Instant}; use async_io::{block_on, Timer}; use async_stream::stream; use futures::StreamExt; use...

@andersk Thanks, but `yield` has some theoretical limits to be supported, doesn't it? Lambda calculus can not express `call/cc` simply.

Thanks, I will fix it later.

According to the layout format definition of Apache Thrift, it could be possible that decode message without IDL. However, it is not the objective of thriftpy, so we have no...

Yes, we are glad to submit a PR to support it, thank you.

Sure, thanks @MrCroxx , in the current, we are trying to use foyer in tonbo: https://github.com/tonbo-io/tonbo/pull/193/files#diff-576a25b15b009b660e408a738b04427884b18a77372406660bc3cf682486a4a1R11 . However, foyer is locked in tokio: https://github.com/foyer-rs/foyer/blob/main/Cargo.toml#L41 . Considering the scenarios Tonbo plans...

BTW I don't think that thriftpy parser is the best practice, it uses lots of anonymouse struct (tuples) to represent parsing intermediates, each item semantic of tuple is so indistinct,...