Code: Jennifer 0.27: what's new, what's deprecated, what breaks
Jennifer 0.27: the code
The programs behind the slides. They need no server, no network and no decks, and run with Jennifer 0.27.0 from this folder.
slices.j: slices instead of the deprecatedstrings.substringandlists.slice,strings.replicate, and"%v"for one value ("Deprecated: slices, not substring"). Run:jennifer run slices.jderive.j:crypto.deriveKeyfor PBKDF2 and Argon2id, a missing cost refused, and UTF-16 throughencoding("Deprecated: one deriveKey", "Deprecated: text to bytes in one place"). Run:jennifer run derive.jsecret.j:fs.readSecretStringrefuses a 0644 file and reads it once it is 0600 ("New: secrets read safely"). It writes and removesdemo-secret.txtin this folder. Run:jennifer run secret.jmatch-index.j:matchon$nodes[$i]with no temporary variable ("New in the language"). Run:jennifer run match-index.jnew-functions.j:trimPrefix,trimSet,sortWith,json.asFloats,%fwith zero fill and grouping,intl.formatNumberand an unpaddedtime.format("New in the libraries"). Run:jennifer run new-functions.j
| File | Size | |
|---|---|---|
| LICENSE | 899 B | raw |
| README.md | 1.1 KiB | raw |
| derive.j | 1.0 KiB | raw |
| match-index.j | 681 B | raw |
| new-functions.j | 769 B | raw |
| secret.j | 414 B | raw |
| slices.j | 469 B | raw |