Speaking of persistent streams that don't fit in memory: are you still working on @dat_project rust impl?
-
-
-
Not actively, no. We were missing async primitives to further the work in the space, so been focused on building that first.
End of conversation
New conversation -
-
-
are streams meant for I/O, or for lazily streaming any type?
-
Either or! In this case I was talking about AsyncRead/AsyncWrite. But you can do a streaming parse to turn an AsyncRead into a typed Stream, and a streaming encode to turn the stream into an AsyncRead again. And the io::copy(reader, writer). But caching is risky with all of em
End of conversation
New conversation -
-
-
what about a BufStream? so you can move around a little at the head?
-
I mean, yeah a bit of caching is okay for sure -- also BufRead / BufReader allow for this. But wanting to do a full replay means caching the whole stream which is *quite* against the point of streams, haha.
- 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.