dyn
and pipelines
#13
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As part of #12, @schrottkatze is implementing an extensible pipeline system, in a library named
prowocessing
. However, this extensibility should be possible for both instructions (named "pipeline elements" in #12) and data types.@schrottkatze brought up that going full
dyn
would not be undesirable, since that would make"runtime" here is ambiguous. It might refer to
prowocessing
In the first interpretation, I agree with 3., but not with 1. and 2. There can still be a validation stage before actual execution, which could check if the output signatures of outgoing neighbors in the DAG match the input signatures of incoming neighbors.
The functions for validation and actual runtime are not limited in terms of return type, and may as well return a proper
Result
with a proper error type.In the second interpretation, I don't agree with any of these, as listed above already the type safety can still be ensured in the typecheck stage before it's passed into the optimizer.