260 likes | 277 Views
Wavenets. John Chapin MIT. x. x. x. x. x. x. y. z. y. z. y. z. y. y. y. z. z. z. z. x. x. x. A. 1. 2. 1:z + 2:s 3:t. B. 3. A. 1. 2. 1:z + 2:s 3:t. 3. A. z. B. A. s. 1. 2. 1:z + 2:s 3:t. B. 3. A. 1. 2. 1:z + 2:s 3:t. B. 3. A. 1. 2.
E N D
Wavenets John ChapinMIT
x x x x x x y z y z
y z y y y z z z z x x x
1 2 1:z + 2:s 3:t B 3 A
1 2 1:z + 2:s 3:t 3 A z B
A s 1 2 1:z + 2:s 3:t B 3
A 1 2 1:z + 2:s 3:t B 3
A 1 2 1:z + 2:s 3:t B 3 t
x (empty) y z y z z 1 2 1:z + 2:s 3:t y y 3 x x A B
x x x s s y z y z s s s A 1 2 1:z + 2:s 3:t B 3
1 2 1:z + 2:s 3:t 3 A y z s B
y y y y s 1 2 1:z + 2:s 3:t y y 3 t t t t t t t A B
x s t A 1 2 1:z + 2:s 3:t B 3
x x (empty) y A 1 2 1:z + 2:s 3:t B 3
x A s 1 2 1:z + 2:s 3:t B 3
x A s z 1 2 1:z + 2:s 3:t B 3 t
s x A 1 2 1:z + 2:s 3:t B 3
Wavenet = Synchronous circuit + Superposition + Wave function collapse + Conservation of energy
A simple primitive that provides: Global concurrency control Automatic resource management Wavenet =
Dining philosophers solution (from philosopher) (to philosopher) p p p:think => left:fork + right:fork p:hungry + left:fork + right:fork => p:eat p:hungry --> p:tryagain right right left left right right table right:fork => table:fork left:fork => table:fork table:fork => right:fork table:fork => left:fork table:fork --> table:fork As manyphilosophers andforks as desired left fork table left
Dining philosophers solution (from philosopher) (to philosopher) p p p:think => left:fork + right:fork p:hungry + left:fork + right:fork => p:eat p:hungry --> p:tryagain right right left left right right table right:fork => table:fork left:fork => table:fork table:fork => right:fork table:fork => left:fork table:fork --> table:fork As manyphilosophers andforks as desired left fork table left
The challenge Computing the latching is NP-complete Conservation of energy = A powerful primitive that solves many different problems Efficient implementation? Offline analysis Hardware support
Batch programs Parallel servers Input Processing Output Halt Run forever Maintain invariants Respond to multiple inputs in parallel Wavenets Calculus? Prog. abstraction? Why? Take off the Turing blindfold! Turing machinesLambda calculus Procedures