~/talk

Notes from the SNARKonomicon: Techniques for Writing SNARK Programs

links:none on file
slides:none on file

Concrete recipes for SNARK programs using the Snarky-style model and Coda/Kota-style recursion: implement division by guessing a quotient with an exists and checking one multiplication instead of exponentiating to p−2 (exponentiation costs ~log p multiplies), pack bits by summing then testing nonzero to make OR cost one constraint regardless of bitcount, and apply risky-but-safe micro‑optimizations like skipping expensive curve checks when security reduces to discrete log, saving roughly ~33% per curve op.

AI-written summary · about

  1. 0:00Start
  2. 1:13Background
  3. 9:55Example: division
  4. 11:31What about checking division?
  5. 12:59Division, diagramatically
  6. 14:55What to do
  7. 15:50Revisiting our earlier example
  8. 16:15Non-determinism: Takeaways
  9. 17:04Taking advantage of arithmetic
  10. 21:56Globally sound optimizations: Pedersen hash let div_unsafe (x, y)
  11. 24:24Reflections on defining a language
  12. 25:02Faster SNARKS
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.