Compare the following Rust & Python implementations.
Some notes:
- There is a little less error handling in the Python client.
- The Python client is a more-or-less direct translation from Rust. I expect it can be made more idiomatic & concise.
This is a brief proposal of how process repos, dev utilities, and the process lib might be laid out to make devex pleasant.
Process lib should live in its own repo, e.g. uqbar-dao/process_lib. It would be imported in a Cargo.toml in third-party or Uqbar-native processes via
Would be nice to change current system (send_requests(), send_response(), send_response_with_side_effect_result() with enforcement and erroring happening in kernel) to a type-based system.
E.g., return to a single send_() function: send_to_loop() or something.
That function takes as input