• Julian Eager's avatar
    Discard `Executor` (#1855) · 9f7656df
    Julian Eager authored
    
    
    closes #622 
    
    Pros:
    * simpler interface, just functions:
    `create_runtime_from_artifact_bytes()` and `execute_artifact()`
    
    Cons:
    * extra overhead of constructing executor semantics each time
    
    I could make it a combination of
    * `create_runtime_config(params)` (such that we could clone the
    constructed semantics)
    * `create_runtime(blob, config)`
    * `execute_artifact(blob, config, params)`
    
    Not sure if it's worth it though.
    
    ---------
    
    Co-authored-by: default avatarBastian Köcher <[email protected]>
    9f7656df