⬢github TypeScript · 2.1K ★ +1.2K since we first saw it · pushed 14 d ago · MIT
chenglou/handwired
Turn your regular JavaScript code into a neural net.
Handwired transforms ordinary JavaScript programs—conditionals, loops, state—into neural-network form: just matrix multiplications and ReLU, exactly preserving results with no training needed. Since the output is only matmuls, it stays fully differentiable, runs on JS or WebGPU, and enables experiments like training the 'weights' of hand-written code or running traditionally single-threaded JS with GPU-level parallelism.
Why now: It's a viral new experiment (1.7k stars within two days) from a well-known developer, with live demos showing surprising tricks like millisecond JSON search over 100k documents via compiled JS-as-matmuls.
Who it is for: JavaScript developers and ML-curious engineers who want to play with the boundary between code and neural networks.
Stars over our 999 snapshots: 865 to 2.1K, since 15 d ago.
Where people talked about it
- ⬢github new repos, most starred 2 d ago
- ⬢github new repos, most starred 3 d ago
- ⬢github new repos, most starred 4 d ago
- ⬢github new repos, most starred 5 d ago
- ⬢github new repos, most starred 6 d ago
- ⬢github new repos, most starred 7 d ago
- ⬢github new repos, most starred 8 d ago
- ⬢github new repos, most starred 9 d ago
- ⬢github new repos, most starred 10 d ago
- ⬢github new repos, most starred 11 d ago
- ⬢github new repos, most starred 12 d ago
- ⬢github new repos, most starred 13 d ago
- ⬢github new repos, most starred 14 d ago
- ⬢github new repos, most starred 15 d ago
API: https://socialmediatrends-api.osmike.com/v1/repos/chenglou/handwired