3 ms·
I too have been thinking about <<general, Wasm-based, "purely functional">> content addressed computation. I think it can support both legacy applications as w
by seg_lol 5y ago
I too have been thinking about <<general, Wasm-based, "purely functional">> content addressed computation.
I think it can support both legacy applications as well as purely functional uses. I really want to support both, the case for linking against any git commit and doing live differential testing is really enticing. I toyed with a serverless deployment system years ago where code was callable by githash and was run directly from git. One could execute any version at any time. This system would be able to automatically rerun executions against new code to track regressions across many dimensions. On failure, the system could fall back to older code paths. TBD how to manage modularity and coherence across sets of functions, restart might need to happen at a much higher level.
For processing an input stream, I think the lambdas would need to be tail recursive so that the internal state could be externally checkpointed, stream_setup/process_chunk/stream_close. process_chunk would need to emit either a total copy of its internal state, or a token linking to persistent storage.
Curious what your current set of basis functions are and how failures are accounted for?
- alfiedotwtf 5y ago> content addressed computation Isn't this what smart contracts were all about?