A fun benchmark exploring what happens when you try to typecheck a TypeScript union of all JavaScript Safe Integers (from Number.MIN_SAFE_INTEGER to Number.MAX_SAFE_INTEGER). The full union file would be ~315 zettabytes, and typechecking it with TSC would theoretically require 26 yottabytes of RAM. Benchmarks compare TSC vs
Sort: