tvl-depot/users/tazjin/generator-example/README.md
Vincent Ambo 006ab204fa feat(tazjin/generator-example): add an example for genawaiter crate
This is an experiment for tvix-eval.

Change-Id: Ic752b5b125cefefeb1343e38a70beb364478e6eb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8131
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
2023-02-16 22:23:51 +00:00

11 lines
385 B
Markdown

generator-example
=================
This is an experiment with the [`genawaiter`][] crate, to see if it
could be suitable for dealing with the execution flattening problem in
Tvix.
It constructs a dummy example that is similar to some of the problems
we have in Tvix that require generator-like thunk forcing.
[`genawaiter`]: https://docs.rs/genawaiter/latest/genawaiter/index.html