This is boilerplate and heavy on machine cycles due to all encoding going on, I wish we had a new simpler tool more low level and naive to simplify the example, something like:
So no JSON and hex encoding in the middle, just raw binary data for IO with pipes. The tool would be way simpler than rollup tool. The motivation is to simplify examples in things I am trying to document.
Maybe this could be done inside yield tool, since it is more low level.
Context
I was trying to create a naive example on how to exchange data with the outside, I ended up with the following example:
This is boilerplate and heavy on machine cycles due to all encoding going on, I wish we had a new simpler tool more low level and naive to simplify the example, something like:
So no JSON and hex encoding in the middle, just raw binary data for IO with pipes. The tool would be way simpler than
rollup
tool. The motivation is to simplify examples in things I am trying to document.Maybe this could be done inside
yield
tool, since it is more low level.