Wed Oct 1 10:59:27 CEST 2014

pyla - streams

So, what about writing logic analyzer core routines in rust in a
functional style, and then bind them to loops over buffers?

THE single most important (and simple!) problem I keep encountering.
Not so much about how to write the nitty gritty, but how to organize
it so it stays efficient.  If I understand correctly, Rust should be
able to do this.

Start with (s,i)->(s,o)

First problem is parametric polymorphism.  A generic iterator should
not care about the atom types, just the containers.

Let's have a look at the Iterator library[1].

[1] http://doc.rust-lang.org/std/iter/trait.Iterator.html