Developer forks bflat to compile C# without .NET runtime or garbage collector
A new fork of the bflat compiler lets developers compile C# directly to small native binaries with no .NET runtime installed on the target machine and no garbage collector at runtime. Memory management instead relies on arenas that are freed all at once, paired with a small library covering strings, collections and I/O. The resulting programs can target Linux, macOS, Windows, WebAssembly, and even DOS on 386 hardware from the same source.
GoKawiil's interpretation of the reporting above, not reported fact.
Removing the GC and runtime dependency could make C# viable for embedded, retro, or resource-constrained environments where .NET's overhead is normally prohibitive, positioning the project as an alternative to languages like Rust or C for low-level native development. Because it's a hobbyist-style Show HN project, its practicality for production use remains unproven and will depend on community testing and library maturity.
- Fork of bflat compiles C# to native binaries without requiring the .NET runtime
- Uses arena-based memory management instead of garbage collection
- Supports Linux, macOS, Windows, WebAssembly, and DOS on 386 from one codebase
Source: onurgumus.github.io, 2026-11-21
Published there as: “Show HN: Zero C#, Power of C# without any GC”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.