cd /news/neural-networks/turn-your-regular-javascript-code-in… · home › topics › neural-networks › article
[ARTICLE · art-150626] src=chenglou.me ↗ pub= topic=neural-networks verified=true sentiment=↑ positive

Turn your regular JavaScript code into a neural net

Handwired converts ordinary JavaScript code into a fully differentiable neural network with no training required, running in a browser without a GPU, according to the project's demos. The Mini OS demo renders a small desktop to regular DOM through 130 layers and 9,909 weights with zero training, while a separate demo searches 100,000 JSON documents by compiling regex matching, JSON parsing and highlighting into WebGPU kernels. The project also lets users unfreeze a compiled program's weights and train them in real time.

key takeaway

Handwired turns existing JavaScript into a differentiable 130-layer, 9,909-weight network with zero training, and can compile JS regex and JSON parsing into WebGPU kernels to search 100,000 JSON documents in parallel.

read1 min views15 publishedOct 15, 2026

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

Demos #

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

Learned gallery

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.

── more in #neural-networks 4 stories · sorted by recency
── more on @handwired 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/turn-your-regular-ja…] indexed:0 read:1min 2026-10-15 · —