Handwired

Turn your regular JavaScript code into a neural net.

No training, exact yet also fully differentiable, runnable in a browser without GPU.

// your code const result = a > 4 ? 10 : 12
// turns into
const above4 = relu(a - 4) - relu(a - 5) // relu(x) is Math.max(0, x)
const result = above4 * 10 + (1 - above4) * 12
a relu(a − 4) relu(a − 5) above4 result + −
A screenshot of HandwiredOS: three windows on a desk, with a grid of photos in front.

Mini OS

A small desktop written in JS, transformed with Handwired. Giant lists, animation, stacking, scrolling, drag, input, pictures, all rendering to regular DOM.

weights
9,909
layers
130
training
0
Open

Unfreeze a compiled program’s weights & train them in real time.

Search 100,000 JSON documents

The regex matching, JSON parsing & highlighting are all written in JS, then turned into WebGPU kernels for massive parallelism.