Skip to content

Pipeline execution order

vird edited this page May 24, 2017 · 12 revisions

Sync

1-frame

Simplest example

"hello world" | stdout

All scalars are implicitly wrapped into 1-length array, so previous code is equivalent to

["hello world"] | stdout

This code will have coffee-script equivalent

for v in ["hello world"]
  console.log v

and can be optimized to

console.log "hello world"

because we detected that frame count == 1

Clocking

Clocking is important for understanding how pipeline will be unrolled into sequentian code.

Clone this wiki locally