borch

Learn

Eleven lessons, all of them running

Every block is written twice — a JavaScript tab and a Python tab, the same work on each. Lesson 0 opens in Python; the others open in JavaScript and switch with one click. The Playground takes both as well.

Every code block on these pages executes in this tab, on your GPU, and you can edit it before you run it. Nothing is installed and nothing is uploaded. Start at the top if borch is new to you; each lesson takes a few minutes.

What you need

How these pages are kept honest

Examples that are never run rot, and the first person to find out is a reader. Everything here executes against the same library the test suite runs against — when a name changes, these pages break where you can see it.

If you would rather build something than read about it, Tutorials takes one problem to the end instead — the same material arrives, in the order a project needs it rather than the order the ideas depend on each other.

The wider claim this project makes is narrow and measured: introductory tutorial code produces the same values with only the import changed. The numbers behind that are on the home page, and what is deliberately absent is listed there too.