Get the latest tech news
Some Tricks from the Scrapscript Compiler
Scrapscript is a small, pure, functional, content-addressable, network-first programming language.
Because the encoded version is illegible without knowing ASCII tables in your head (0x63==”c”, 0x62==”b”, 0x61==”a”, etc), we also helpfully print out the string representation to aid debugging. But I vaguely recalled something about OCaml encoding variants with only a couple of bits so I checked out their page on data representations. Sometimes in scraps there are entire constant data structures that get allocated at run-time, every time the parent closure is called.
Or read this on Hacker News