Closed mihaibudiu closed 1 year ago
This also cleans up the compiler API, removing the newCircuit API.
LGTM. Is there ever a situation where we'd generate code containing more than one circuit? And if so, I assume the expected usage would be to create multiple DBSPCompiler instances, extract the individual circuits, and then use those to generate code right?
Not really, compiling multiple circuits shares some structures, such as the Tuple definitions. I will file a bug, since that's now done through static variables; should clean that up too.
Signed-off-by: Mihai Budiu mbudiu@vmware.com Fixes #94