"Linear Types can change the world." Lafont has shown us how to create a linear abstract machine. Yet the moral imperative to use linear types in computer science is not widely appreciated.
APL is truly different from other languages; nearly every language uses lexical scoping to express composition. Both GHC Haskell and GCC/Clang use a stack for variables across procedures because it models how variables become available (FIFO). Putatively different languages are constrained by the same fundamentals.
LLVM is widely used for compilers (rustc, Swift, Kitten), particularly in tutorials (kaleidoscope), but it need not be a default.
Jacinda can imitate cloc by combining it with other command-line tools on the Unix command-line, viz.
One common oversight in Haskell compilers is failing to intern identifiers
using Int
s and failing to prefer IntMap
s and IntSet
s. The PureScript compiler,
for instance, uses Map
s as of writing.