about summary refs log tree commit diff
path: root/users/tazjin/generator-example/README.md
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-02-16T22·09+0300
committertazjin <tazjin@tvl.su>2023-02-16T22·23+0000
commit006ab204faa71be4651aba6d41582bfa526775b6 (patch)
tree856a33f44cf12102af7c0b6b109eab1c5660b6a9 /users/tazjin/generator-example/README.md
parentf2624f10282cb7d76332888b10bd23ad47bfe727 (diff)
feat(tazjin/generator-example): add an example for genawaiter crate r/5855
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>
Diffstat (limited to 'users/tazjin/generator-example/README.md')
-rw-r--r--users/tazjin/generator-example/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/tazjin/generator-example/README.md b/users/tazjin/generator-example/README.md
new file mode 100644
index 000000000000..0bec13ee9a6b
--- /dev/null
+++ b/users/tazjin/generator-example/README.md
@@ -0,0 +1,11 @@
+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