Build native apps for
bflat is a native compiler for C# that comes with everything you need to build C# apps for any of the supported platforms. No additional SDKs or NDKs needed.
Battle-tested fundamentals
Based on parts of the .NET 8 SDK that is trusted by developers all around the world, but reimagined as native-first and stripped to the bare minimum needed to build native apps with C#. Based on CoreCLR's code generator and GC.
Choose your standard library
Comes with two standard libraries: one (DotNet) that is compatible with .NET and supports everything from console to JSON, and another (Zero) that is stripped to bare minimum and doesn't even have a GC.
Build native apps or shared libraries
Produce native apps and native libraries. Consume C# libraries built with bflat from other languages using their respective FFI interface.
Bring your own build system
Invoke bflat directly from terminal, integrate with a shell script, Makefile, or even MSBuild. The choice is yours.