Code: Jennifer 0.26: what's new, what's deprecated, what breaks
Jennifer 0.26: the code
The programs behind the slides. They need no server, no network and no decks, and run with Jennifer 0.26.0 from this folder.
name-first.j: the algorithm, format or codec name comes first (hash.compute("sha256", b),encoding.toText("hex", b)) ("Breaking: the name comes first"). Run:jennifer run name-first.jcrypto.j: one function per operation, the algorithm first: an Ed25519 key pair, a signature and its check, and AES-GCM with your own nonce ("Breaking: crypto, one function per operation"). Run:jennifer run crypto.jkinds.j: errors you match by kind: a decoder cap is"limit", a closed channel"closed"("Breaking: match the kind, never the message"). Run:jennifer run kinds.jnew-libraries.j: exactdecimalarithmetic, animagesround trip and a for-each overbytes("New: decimal and images", "New in the language"). Run:jennifer run new-libraries.j
| File | Size | |
|---|---|---|
| LICENSE | 899 B | raw |
| README.md | 947 B | raw |
| crypto.j | 719 B | raw |
| kinds.j | 714 B | raw |
| name-first.j | 333 B | raw |
| new-libraries.j | 867 B | raw |