Começar Enviar um site

Handwired

chenglou.meDR 58 Accessible 300 views

Desenvolvimento e Programação Handwired converts ordinary JavaScript code into fully differentiable neural networks without training, running exactly in the browser without a GPU. It suits d

Editor's Review

For reference only
Handwired page preview

Handwired's key idea is compiling plain JS control flow into differentiable operations, so programs become neural nets with zero training. Demos like a JS-written Mini OS and WebGPU-accelerated JSON search show practical breadth. Best for researchers and engineers curious about differentiable progra

Site introduction

Handwired is a tool that turns regular JavaScript code into a neural network. Rather than training a model, it compiles your existing logic into an exact yet fully differentiable form, so the program can be run and differentiated directly in a browser without a GPU.

The core mechanism rewrites branches and comparisons into differentiable primitives; for example, a conditional becomes a combination of relu terms. This preserves exact behavior while exposing gradients. The site includes a tutorial, GitHub link, and demos such as Mini OS, a small desktop written in JS and transformed with Handwired, and a learned gallery where compiled weights can be unfrozen and trained in real time.

Another demo searches 100,000 JSON documents, with regex matching, JSON parsing, and highlighting written in JS and turned into WebGPU kernels for parallelism. These examples show the approach scaling from small snippets to interactive browser applications.

Handwired is aimed at developers and researchers interested in differentiable programming, program synthesis, and browser-based computation. It is not a conventional ML framework and requires comfort with JavaScript and neural-net concepts.

To get started, read the tutorial, try the demos, and inspect the GitHub repository. Handwired is best treated as an experimental platform for exploring differentiable code rather than a production training system.

Comments & Ratings

0

No comments yet. Be the first to review.

Write the first comment

Your email won't be made public; fields marked with * are required.

Rate this site

Click the stars to rate; rating is optional, and clicking the selected star again cancels it.