∛ Cube Root Money must move once, even when machines fail.
ContactTry the IDE in your browser →
← Back

How it compares

Cube Root beside the durable engines in use today, held to one definition. Each of them is carefully engineered; the rows name what each one asks of the developer.

Eleven questions, yes or no

The code-first durable engines, then three declared-graph engines (in gold); each held to the textbook definition, built into a compiler. The last two rows count what there is to learn.

QuestionCube RootTemporalAWS Step FunctionsGoogle Cloud WorkflowsAWS Lambda durable functionsAzure Durable FunctionsInngestRestateDBOSVercel WorkflowLittleHorse
Infrastructure generated by a compiler✓✗✗✗✗✗✗✗✗✓partly
Wiring type-checked before anything runs✓✗✗✗✗✗✗✗✗✗partly
Version worked out by the compiler✓✗partlypartly✗✗✗✗✗partly✓
Recovery without replaying your code✓✗✓partly✗✗✗✗✗✗✓
A service as a component type, its risk rated✓✗✗partly✗✗✗✗✗✗partly
A safe canary, cleared by the compiler✓✗partly✗✗✗✗✗✗✗✗
The graph, derived from your plain code✓✗——✗✗✗✗✗partly✗
Parallel calls checked for races before they run✓✗partlypartly✗✗✗✗✗✗✗
A run over your own code, its version checked✓✗partlypartly✗✗✗✗✗✗partly
An editor, checked by the compiler✓✗✓partly✗✗✗✗✗partly✗
Embedded or remote, the same code✓*✗✗✗✗✗✗✗✗✓✗
Constructs to learn before your first flow3121212111010119812
Optional hints, checked by the compiler30000000000

✗ not described in the engine’s own documentation; partly: it describes part of it; —: does not apply, the workflow is a graph declared in YAML or JSON. LittleHorse declares its graph with SDK calls in Java, Go, Python, C# or TypeScript. Constructs: the main ones each engine’s own documentation names before a first workflow (listed under the learning curve); hints change speed, never meaning. Useful tools such as linters and checks while running are not counted. * Cube Root: on a server today; embedded, inside your process, is coming. Vercel Workflow from its documentation, read 2026-11-29. LittleHorse from its documentation, read 2026-11-30. Google Cloud Workflows and AWS Step Functions from theirs, read 2026-11-29: Step Functions' redrive continues a failed execution from the failed step, and Workflow Studio validates the definition as it is written; Google Cloud Workflows retries inside a running execution but cannot resume a failed one. Parallel calls: every engine tells the developer to keep parallel calls independent, and none checks it before they run; four ship code checkers that flag something nearby - Temporal's workflowcheck (goroutines, channels, map loops), the AWS ESLint plugin (outer-variable writes in some operations), Azure's Roslyn analyzer (Task.Run, Thread.Start) and Inngest's ESLint rules (variable changes inside a step).

The three families, side by side

Declared graphCode, made durable by journal and replayCode, made durable by the compiler
AWS Step Functions
Google Cloud Workflows
LittleHorse
Azure Durable Functions
AWS Lambda durable functions
Temporal · Restate · Vercel Workflow
Cube Root
How the workflow is writtenA graph declared in JSON or YAML (Amazon States Language; Workflows syntax), or built by SDK calls (LittleHorse)Ordinary code calling the engine's SDKPlain Java, TypeScript or Python, more languages coming; the compiler derives the steps
How it survives a crashThe service records each state transition and continues the graphA journal of each call; the code runs again from the start and completed calls are skippedEach step is a recorded row; work continues from the rows, the code is not run again from the start
Rules on the business codeFew: the logic lives in the graphMust stay deterministic between steps; checked at run time and by replay tests, partly by analyzersChecked by the compiler when the code is built
Parallel callsDeclared as Parallel and Map statesWritten by hand (futures, promises, Task.WhenAll)Derived by the compiler from the data each call needs
Where it runsIts own cloud only (AWS, Google)Azure Functions; AWS Lambda; Temporal and Restate self-hosted or as their cloudIts own server over PostgreSQL, on any cloud
The price paidRich logic is hard to express as a graph; it lives outside the codeThe rules live in the developer's head; a broken rule can show up at replay, in productionOne rule: the whole language, compute in methods, effects in flows; what crosses a call is serializable

From each product's public documentation, read November 2026. Cube Root's own limits are in the last row. Vercel Workflow (TypeScript and Python, in beta) marks a workflow and its steps with directives, "use workflow" and "use step", instead of SDK calls; it records each step and replays the workflow, so its documentation asks for workflow.now() and workflow.random() in place of the clock and random numbers (Vercel's documentation).

Two parallel loops: the contrast with Temporal

A payment file: its batches together, and in each batch its transfers together.

Cube Root2 labels

PaymentFileRun.java
public class PaymentFileRun {
    private Function<Transfer, String> transfer;
    public String invoke(PaymentFile file) {
        int n = file.batches().size();
        parallel: for (int i = 0; i < n; i++) {
            PaymentBatch batch = file.batches().get(i);
            int m = batch.transfers().size();
            parallel_transfers: for (int j = 0; j < m; j++) {
                String outcome = transfer.apply(batch.transfers().get(j));
            }
        }
        return "file " + file.fileId() + " processed";
    }
}

Two labels ask for “together”. The compiler does the rest.

Temporalinfrastructure lines in the business code

FileWorkflowImpl.java
public class FileWorkflowImpl implements FileWorkflow {
  @Override
  public String process(PaymentFile file) {
    String fileWorkflowId = Workflow.getInfo().getWorkflowId();
    List<Promise<String>> outcomes = new ArrayList<>();
    for (PaymentBatch batch : file.batches()) {
      ChildWorkflowOptions options =
          ChildWorkflowOptions.newBuilder()
              .setWorkflowId(fileWorkflowId + "/batch-" + batch.batchId())
              .build();
      BatchWorkflow child = Workflow.newChildWorkflowStub(BatchWorkflow.class, options);
      outcomes.add(Async.function(child::process, batch));
    }
    Promise.allOf(outcomes).get();
    return "file " + file.fileId() + " processed";
  }
}
BatchWorkflowImpl.java
public class BatchWorkflowImpl implements BatchWorkflow {
  @Override
  public String process(PaymentBatch batch) {
    List<Promise<String>> outcomes = new ArrayList<>();
    for (Transfer transfer : batch.transfers()) {
      ChildWorkflowOptions options =
          ChildWorkflowOptions.newBuilder()
              .setWorkflowId("transfer-" + transfer.endToEndId())
              .build();
      TransferWorkflow child = Workflow.newChildWorkflowStub(TransferWorkflow.class, options);
      outcomes.add(Async.function(child::transfer, transfer));
    }
    Promise.allOf(outcomes).get();
    return "batch " + batch.batchId() + " processed";
  }
}

Shaded: in Temporal, every line of infrastructure (each one names the engine); in Cube Root, the two labels. (Its field is Java’s own Function: nothing of ours is imported.) The Temporal side was written from its documentation, compiled and run by us.

The learning curve

Is there a learning curve to learn their API? What a developer must learn first:

Temporal
WorkflowActivityWorkerTask QueueWorkflow IDSignalQueryUpdateChild WorkflowTimerAsync and Promiserules of determinism
AWS Step Functions
State machineAmazon States LanguageTask stateChoice stateParallel / Map stateExecutionStandard vs ExpressVariables and JSONataService integrationsIntegration patternsRetry / CatchActivities
Google Cloud Workflows
Workflow syntax (YAML / JSON)StepsRuntime argumentsConditions (switch)Iteration (for)Parallel stepsSubworkflowsHTTP requestsConnectorsRetries, try / exceptCallbacksExecutions
AWS Lambda durable functions
DurableContextStepWaitWait for conditionCallbackInvokeParallelMapChild contextrules of determinisma version or alias to pin
Azure Durable Functions
Orchestrator functionActivity functionClient functionEntitySub-orchestrationDurable timerExternal eventTask huborchestration versioningrules of determinism
Inngest
FunctionEventTriggerstep.runstep.sleepstep.waitForEventstep.invokeConcurrency keyserve handlerPromise.all
Restate
ServiceVirtual ObjectWorkflowHandlerContextctx.runKeyAwakeableDurable promiseSignalfutures
Vercel Workflow
"use workflow""use step"sleep()Hookstart()FatalError / RetryableErrorWorldsrules of determinism
DBOS
WorkflowStepTransactionQueueWorkflow IDHandlesend / recveventsrules of determinism
LittleHorse
KernelTaskDefTask WorkerWfSpecWfRunThreadFunc / WorkflowThreadWfRunVariabledoIf / doWhileChild ThreadsExternal EventsInterruptsException Handling
Cube Root
a flow: a class with invokea call: a field of your language’s own function type (Function, Callable, an arrow type), a durable stepcompensate: its undo, run by a failed try
Cube Root hints
parallel:sequential:eager:

The main concepts named in each engine’s own documentation; not every one of them. Cube Root’s hints are optional: they change speed, never meaning, and the compiler checks each one. In Cube Root, what the compiler cannot accept it refuses by name, before anything runs.

Embedded or remote, the same code?

The same flow code runs either inside your process or on a separate server, chosen at deployment, without changing the code.

Cube Root✓both, chosen at deployment: on a server today; inside your process is coming
Temporal✗a Temporal service or Temporal Cloud; its embedded server is for tests only
AWS Lambda durable functions✗AWS’s managed service only
Azure Durable Functions✗the Azure Functions host; elsewhere, a different SDK
Inngest✗the Inngest server
Restate✗the Restate server
DBOS✗embedded only: a library in your process
Vercel Workflow✓both: with its PostgreSQL back end, a worker inside your process or separate workers

✗: one of the two forms, not both with the same code, as each engine’s own documentation describes it. Each of them is useful in the form it offers.

See a fully built flow →
cube-root.com · Contact