“Know how to solve every problem that has been solved.” “What I cannot create, I do not understand.” — Richard Feynman

Knot by example

Real scientific programs in Knot, the numerical language from knotkit (a Rust compiler kit): a full Hartree–Fock SCF, FEM Poisson, reverse-mode autodiff, a flat-array mini-CAS. Each compiles to plain C — try them live in the playground, or download the generated .c and gcc it.

Read the writeup →