Hasty Briefsbeta

Bilingual

56,000 lines of DOOM, in a language I made up

3 hours ago
  • #DOOM
  • #programming-language
  • #compiler
  • bet is a small, real programming language designed as a contained experiment.
  • It compiles to native code via LLVM, self-hosts, manages memory, and can run DOOM.
  • The language uses arena allocation (called cribs) for efficient memory management in games.
  • DOOM was fully ported to bet with over 56,000 lines, achieving bit-for-bit identical gameplay.
  • The project was built with no prior research and gated solely by tests, without code review.
  • It served as a joke, an experiment, and a learning experience, with no plans for further development.