handwired
Handwired turns ordinary JavaScript logic into differentiable neural-network-style calculations, so programs can run as matrix operations in JavaScript or WebGPU. It is for experimenting with GPU execution and optimization of code written in a traditional style.
Share on XLicense: MIT
Overview
Handwired is a TypeScript project that converts ordinary JavaScript control flow into arithmetic built from addition, multiplication, and ReLU. It expresses branches as calculations, then combines the operations into matrix multiplication. The resulting program remains differentiable and can run in JavaScript or WebGPU. The project is for exploring GPU execution and optimization of code written in a traditional style, with demos including JSON search across 100,000 documents.
Key features
- Express conditional branches using arithmetic and ReLU.
- Combine additions, multiplications, and ReLU into matrix multiplication.
- Run the calculations in JavaScript or WebGPU.
- Includes a JSON search demo over 100,000 documents.
Best for
Developers curious about differentiable programs or GPU execution of traditional JavaScript can use Handwired to explore these ideas through its demos and code.
- Upstream
- chenglou/handwired
- Fork on GitHub
- Guo-astro/handwired
- Upstream stars
- 1.6k
- Category
- Developer tools and infrastructure
- Language
- TypeScript
- License
- MIT
- Forked
- 2026-10-16
- Sync status
- In syncLast synced 2026-10-18
More in Developer tools and infrastructure
ImHex is a hex editor for inspecting and editing binary files. Reverse engineers, programmers, and forensic users can search and patch bytes or describe file structures with its pattern language.
Forked 2026-10-17Last synced 2026-10-18License: GPL-2.0Developer tools and infrastructureGitHub
Numa is a portable DNS resolver for local development and privacy. It blocks ads, gives local services names like frontend.numa, and runs without depending on a cloud account.
Forked 2026-10-17Last synced 2026-10-18License: MITDeveloper tools and infrastructureGitHub
Rustrak is a self-hosted error tracker for collecting errors, logs, transactions, release health, and AI-agent traces through Sentry-compatible SDKs. Run it on your own hardware to monitor applications without moving to a hosted service.
Forked 2026-10-15Last synced 2026-10-18License: GPL-3.0Developer tools and infrastructureGitHub
WrapPin is an iOS 27+ tool for testing the location an iPhone reports to the system. Choose a fixed location or test walking and driving routes, then restore the real location.
Forked 2026-10-14Last synced 2026-10-18Custom license (see repository)Developer tools and infrastructureGitHub