awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bflattened avatar

bflattened/bflat

0
View on GitHub↗
3,957 星标·115 分支·C#·AGPL-3.0·5 次浏览

Bflat

bflat 是一个用于 C# 的原生编译器和提前 (AOT) 二进制生成器。它将源代码转换为自包含的原生可执行文件和机器码,无需单独的运行时环境即可运行。

该项目具有一个跨平台原生工具链,能够从单一环境为多种操作系统和架构生成二进制文件。它包括一个通过外部函数接口将 C# 逻辑导出为共享原生库的机制,以便与其他编程语言集成。

为了支持资源受限的环境,它提供了一个二进制优化器,通过剥离反射数据、全球化元数据和堆栈跟踪信息来减小可执行文件大小。它还允许选择不同的标准库深度,以平衡功能丰富度与最终二进制文件大小。

该工具链支持系统级调试,使开发人员能够使用原生调试器设置断点并直接在编译后的机器码中检查变量。

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 历史

bflattened/bflat 的 Star 历史图表bflattened/bflat 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

bflattened/bflat 是做什么的?

bflat 是一个用于 C# 的原生编译器和提前 (AOT) 二进制生成器。它将源代码转换为自包含的原生可执行文件和机器码,无需单独的运行时环境即可运行。

bflattened/bflat 的主要功能有哪些?

bflattened/bflat 的主要功能包括: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。

bflattened/bflat 有哪些开源替代品?

bflattened/bflat 的开源替代品包括: 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…

Bflat 的开源替代方案

相似的开源项目,按与 Bflat 的功能重合度排序。
  • gcc-mirror/gccgcc-mirror 的头像

    gcc-mirror/gcc

    11,019在 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++
    在 GitHub 上查看↗11,019
  • red/redred 的头像

    red/red

    6,009在 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
    在 GitHub 上查看↗6,009
  • java-native-access/jnajava-native-access 的头像

    java-native-access/jna

    8,916在 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
    在 GitHub 上查看↗8,916
  • zeit/pkgzeit 的头像

    zeit/pkg

    24,366在 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
    在 GitHub 上查看↗24,366
查看 Bflat 的所有 30 个替代方案→