awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
bflattened avatar

bflattened/bflat

0
View on GitHub↗
3,957 stars·115 forks·C#·AGPL-3.0·8 views

Bflat

bflat is a native compiler and ahead-of-time binary generator for C#. It transforms source code into self-contained native executables and machine code that run without requiring a separate runtime environment.

The project features a cross-platform native toolchain capable of generating binaries for multiple operating systems and architectures from a single environment. It includes a mechanism for exporting C# logic as shared native libraries via a foreign function interface for integration with other programming languages.

To support resource-constrained environments, it provides a binary optimizer that reduces executable size by stripping reflection data, globalization metadata, and stack trace information. It also allows for the selection of different standard library depths to balance feature richness against the final binary footprint.

The toolchain supports system-level debugging, enabling the use of native debuggers to set breakpoints and inspect variables directly within the compiled machine code.

Features

  • Native Executable Compilers - Transforms C# source code into standalone native binary executables that run without a separate runtime.
  • Cross-Platform Toolchains - Provides an integrated suite of utilities for building and debugging native binaries across diverse architectures.
  • Self-Contained Executables - Produces single binaries that bundle all necessary runtime logic and dependencies to eliminate external requirements.
  • Cross-Platform Deployment Targets - Supports compiling and running C# applications across diverse operating systems and hardware architectures.
  • Cross-Platform Compilers - Provides a compiler capable of targeting multiple operating systems and processor architectures from C# source code.
  • Machine Code Generators - Translates intermediate representations directly into hardware-specific machine instructions for high performance.
  • Native C# Compilers - Transforms C# source code into self-contained native executables without requiring a separate runtime environment.
  • AOT Compiled Binaries - Produces ahead-of-time compiled binaries that eliminate runtime startup overhead and external dependencies.
  • Minimal Runtime Footprints - Achieves a small binary size and low memory usage by stripping reflection and globalization data.
  • Binary Metadata Stripping - Reduces executable size by stripping reflection data, globalization strings, and stack trace metadata.
  • Binary Size Optimizations - Provides a utility to reduce executable size by stripping reflection data, globalization metadata, and stack trace information.
  • Cross-Language Library Development - Develops core C# logic exposed as native libraries for use across multiple target programming languages.
  • Foreign Function Interfaces - Implements binding layers that enable communication between C# logic and other programming languages via native libraries.
  • Native Library Integrations - Creates native libraries that expose C# functions via a foreign function interface for cross-language integration.
  • Runtime Library Selection - Offers a mechanism to choose between comprehensive or minimal library implementations for resource-constrained environments.
  • Standard Library Size Optimizations - Provides options to configure the standard library depth to minimize the final compiled binary size.
  • Binary Size Optimizations - Reduces the executable footprint by stripping reflection, stack trace data, and exception messages to lower total memory usage.
  • Footprint-Based Library Selection - Allows selection between full feature sets and minimal primitive libraries to optimize the binary footprint.
  • Dynamic Library Exports - Exports C# logic as shared native libraries for consumption by other programming languages.

Star history

Star history chart for bflattened/bflatStar history chart for bflattened/bflat

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Bflat

Similar open-source projects, ranked by how many features they share with Bflat.
  • gcc-mirror/gccgcc-mirror avatar

    gcc-mirror/gcc

    11,019View on GitHub↗

    This project is a multi-language compiler collection and cross-platform toolchain used to translate source code from various programming languages into optimized machine code for different hardware architectures. It provides a suite of tools including an optimizing compiler backend, a machine code generator, and a comprehensive runtime library suite that implements necessary execution environments and support functions. The system utilizes a multi-pass compilation pipeline and pluggable language front-ends to process source code into intermediate representations. It distinguishes itself throu

    C++
    View on GitHub↗11,019
  • red/redred avatar

    red/red

    6,009View on GitHub↗

    Red is a programming language with a native compiler that translates high-level source code into standalone executables for Windows, macOS, and Linux without external runtime dependencies. It combines a cross-platform GUI development framework that renders native operating system widgets from a single codebase with a reactive data binding system that automatically synchronizes UI state with data sources. The language also includes an embedded DSL and parsing engine based on PEG grammar rules for defining and processing domain-specific languages within the language itself. The project distingu

    Red
    View on GitHub↗6,009
  • java-native-access/jnajava-native-access avatar

    java-native-access/jna

    8,916View on GitHub↗

    JNA is a foreign function interface and native memory mapper that allows Java applications to call functions in shared native libraries without writing custom JNI wrapper code. It serves as a JNI alternative framework for invoking C functions and mapping native data structures using high-level interfaces. The library distinguishes itself through its ability to translate Java objects and primitives into C-style structs, unions, and pointers for cross-platform memory exchange. On Windows, it provides a dedicated toolkit for interacting with Component Object Model objects using both early and la

    Java
    View on GitHub↗8,916
  • zeit/pkgzeit avatar

    zeit/pkg

    24,366View on GitHub↗

    pkg is a Node.js executable packager and cross-platform binary compiler. It bundles a project and its dependencies into a single standalone executable file that runs without a pre-installed runtime on the target machine. The tool uses a virtual filesystem bundler to embed project assets and native modules into a binary snapshot. It includes a bytecode obfuscator that compiles source code into bytecode to prevent the extraction of raw logic. The project supports cross-platform distribution, allowing the generation of binaries for different operating systems and architectures from a single hos

    JavaScript
    View on GitHub↗24,366
See all 30 alternatives to Bflat→

Frequently asked questions

What does bflattened/bflat do?

bflat is a native compiler and ahead-of-time binary generator for C#. It transforms source code into self-contained native executables and machine code that run without requiring a separate runtime environment.

What are the main features of bflattened/bflat?

The main features of bflattened/bflat are: Native Executable Compilers, Cross-Platform Toolchains, Self-Contained Executables, Cross-Platform Deployment Targets, Cross-Platform Compilers, Machine Code Generators, Native C# Compilers, AOT Compiled Binaries.

What are some open-source alternatives to bflattened/bflat?

Open-source alternatives to bflattened/bflat include: gcc-mirror/gcc — This project is a multi-language compiler collection and cross-platform toolchain used to translate source code from… red/red — Red is a programming language with a native compiler that translates high-level source code into standalone… java-native-access/jna — JNA is a foreign function interface and native memory mapper that allows Java applications to call functions in shared… zeit/pkg — pkg is a Node.js executable packager and cross-platform binary compiler. It bundles a project and its dependencies… bytedeco/javacpp — JavaCPP is a JNI C++ bridge and foreign function interface that provides a binding generator, a native library loader,… johnthagen/min-sized-rust — This project is a collection of techniques and configurations for reducing the disk footprint of compiled Rust…