Hasty Briefsbeta

Bilingual

Show HN: Salt – a systems language with Z3 theorem proving in the compiler

a day ago
  • #Systems Programming
  • #Formal Verification
  • #Programming Language
  • Salt provides verified safety at compile time without runtime overhead using Z3-proven contracts.
  • It uses arena allocation instead of garbage collection or a borrow checker, ensuring memory safety and preventing leaks.
  • Salt achieves performance parity with clang -O3 across various benchmarks, including ML inference, kernels, networking, and rendering.
  • The language features pipe operators for chaining, optional chaining for errors, and f-strings for type-safe formatting without allocation.
  • Salt's package manager, sp, offers dependency verification, content-addressed caching, and monorepo support for fast, reliable builds.