Handwired

Handwired — turn your regular JavaScript code into a neural net.

Working when we checked on .

Visit Handwired

What is Handwired?

Handwired compiles regular JavaScript code into a neural net representation, with no training required. It targets developers who want exact yet fully differentiable programs that run in a browser without a GPU. Regular JS constructs like conditional expressions are transformed into ReLU-based arithmetic. Capabilities shown include a mini desktop OS built in JS (9,909 weights, 130 layers, zero training), a photo gallery whose compiled weights can be unfrozen and trained in real time, and a search over 100,000 JSON documents with regex matching, JSON parsing and highlighting turned into WebGPU kernels.

Handwired pricing

Pricing model: Freemium

Handwired pros

  • No training required to produce working neural net code
  • Exact yet fully differentiable output
  • Runs in a browser without a GPU
  • Compiled weights can be unfrozen and trained in real time
  • JS code can be turned into WebGPU kernels for parallelism
  • Demo handles giant lists, animation, scrolling, drag and input in regular DOM

Handwired cons

  • No pricing or licensing information is shown on the page
  • No documentation, API, or installation details are provided beyond demos
  • Appears to be a personal project with limited support or guarantee

Frequently asked questions about Handwired

What does Handwired do?

It turns regular JavaScript code into a neural net. For example, a conditional like `a > 4 ? 10 : 12` becomes ReLU-based arithmetic that is exact and fully differentiable, with no training required.

Does Handwried require training?

No. The compilation is exact and requires zero training. The mini OS demo lists 'training: 0' alongside 9,909 weights and 130 layers.

Can the resulting networks be trained?

Yes. A compiled program's weights can be unfrozen and trained in real time, as demonstrated by the learned photo gallery demo.

Where can Handwired programs run?

In a browser, without a GPU. Some demos also use WebGPU kernels for massive parallelism, such as searching 100,000 JSON documents.

What is the mini OS demo?

A small desktop written in JavaScript and transformed with Handwired. It supports giant lists, animation, stacking, scrolling, drag, input, and pictures, all rendering to regular DOM, with 9,909 weights across 130 layers.

Who is Handwired for?

It is aimed at JavaScript developers and researchers interested in compiling ordinary code into differentiable neural net representations that run in the browser.

How does the JSON search demo work?

The regex matching, JSON parsing, and highlighting are all written in JavaScript, then turned into WebGPU kernels to search 100,000 JSON documents with massive parallelism.

What is the output of compiling a condition like a > 4 ?

It becomes ReLU expressions such as `relu(a - 4) - relu(a - 5)` to produce an indicator value, then the original branches are combined arithmetically, e.g. above4 * 10 + (1 - above4) * 12.

Is Handwired free to use?

The page shows no pricing or licensing information, so its cost is not documented. It appears to be a personal project by Cheng Lou with public browser demos.

What platforms does Handwired support?

It runs in the browser without requiring a GPU. Demos also leverage WebGPU for parallel kernels where available.

Categories

Use cases

Alternatives to Handwired

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z