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

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

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

scala-native/scala-native

0
View on GitHub↗
4,670 星标·388 分支·Scala·6 次浏览scala-native.org↗

Scala Native

Scala Native 是一个提前(AOT)编译器,将 Scala 源代码转换为独立的本地二进制文件,以便直接在硬件上执行。它提供了一个原生二进制工具链,旨在通过将代码编译为优化的可执行文件,消除虚拟机预热时间并确保即时启动。

该项目具有 C 互操作性接口和外部函数接口(FFI),将原生 C 头文件映射为语言对象,从而允许直接执行外部库。它包含一个低级内存管理器,支持直接指针操作和使用结构体(structs)来精确控制内存布局。

该系统利用基于 LLVM 的编译和静态二进制链接,将运行时组件打包成单个文件。它在低级硬件访问与自动垃圾回收内存管理之间取得了平衡,适用于裸机应用程序开发。

Features

  • Ahead-Of-Time Compilers - Compiles Scala source code into standalone machine-executable binaries to eliminate virtual machine warm-up times.
  • Native Binary Toolchains - Provides a comprehensive toolchain for compiling Scala code into platform-specific native binaries.
  • Native AOT Compilation - Converts high-level Scala code directly into native machine instructions to optimize startup and memory usage.
  • Standalone Binaries - Generates single-file executable binaries that include both the runtime and application code for instant startup.

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI
  • Binary Compilation - Transforms Scala source code into standalone executable binary units for direct execution on hardware.
  • Scala-to-C Interfaces - Provides a specialized mechanism for calling C functions and linking native libraries directly from Scala.
  • Garbage-Collected Runtimes - Includes a runtime integrated into the native binary that provides automatic garbage-collected memory management.
  • Native C Interoperability - Provides the necessary infrastructure to link and interface with existing C binary libraries.
  • C Function Bindings - Provides a foreign function interface for mapping native C functions to language methods for direct execution.
  • LLVM-Based Compilers - Utilizes the LLVM toolchain as a backend to generate optimized machine code for multiple hardware targets.
  • Managed-to-Native Function Calls - Enables invoking native library functions from managed Scala code through data marshalling and platform invoke declarations.
  • Static Binaries - Bundles all runtime components and dependencies into a single, self-contained executable file.
  • Low-Level System Operations - Allows direct access to raw memory pointers and uninitialized memory for performance-critical system tasks.
  • Low-Level Systems Programming - Provides direct control over memory layout using pointers and structs for high-performance systems programming.
  • Bare Metal Development - Enables the development of high-performance software that executes directly on hardware without a virtual machine.
  • Memory Manipulation - Enables direct memory access and manual control over memory addresses and offsets via low-level primitives.
  • Star 历史

    scala-native/scala-native 的 Star 历史图表scala-native/scala-native 的 Star 历史图表

    Scala Native 的开源替代方案

    相似的开源项目,按与 Scala Native 的功能重合度排序。
    • crystal-lang/crystalcrystal-lang 的头像

      crystal-lang/crystal

      20,299在 GitHub 上查看↗

      Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor

      Crystalcompilercrystalcrystal-language
      在 GitHub 上查看↗20,299
    • c3lang/c3cc3lang 的头像

      c3lang/c3c

      5,147在 GitHub 上查看↗

      c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static libraries, or dynamic libraries using an LLVM backend. It implements a system based on result-based error handling, scoped memory pooling, and a semantic macro system. The compiler provides first-class support for hardware-backed SIMD vectors that map directly to processor instructions and enables runtime polymorphism through interface-based dynamic dispatch. The project covers a broad set of low-level capabilities, including manual and pooled memory management, inline assembly inte

      C3c3compilerlanguage
      在 GitHub 上查看↗5,147
    • canadahonk/porfforCanadaHonk 的头像

      CanadaHonk/porffor

      4,709在 GitHub 上查看↗

      Porffor is an ahead-of-time compiler that converts JavaScript and TypeScript source code into native machine code or C binaries. It functions as a native binary generator and transpiler, producing standalone executable files that do not require a runtime or virtual machine. The project translates source code into C language files and WebAssembly binary formats. It includes a direct-to-binary pipeline for TypeScript, allowing for the generation of target executables without a separate transpilation step to JavaScript. The toolset also includes an interactive read-eval-print loop for real-time

      JavaScript
      在 GitHub 上查看↗4,709
    • jetbrains/kotlin-nativeJetBrains 的头像

      JetBrains/kotlin-native

      6,982在 GitHub 上查看↗

      Kotlin-native is an ahead-of-time, cross-platform compiler and toolchain that transforms Kotlin source code into standalone native machine binaries. It functions as an LLVM native compiler, producing executable files that run directly on hardware without the requirement of a virtual machine. The project enables cross-platform native development across multiple operating systems and processor architectures, including iOS, Linux, and Windows. This allows for the creation of native Apple platform applications and software for embedded systems programming where direct memory management and minima

      Kotlinccompilerkotlin
      在 GitHub 上查看↗6,982
    查看 Scala Native 的所有 30 个替代方案→

    常见问题解答

    scala-native/scala-native 是做什么的?

    Scala Native 是一个提前(AOT)编译器,将 Scala 源代码转换为独立的本地二进制文件,以便直接在硬件上执行。它提供了一个原生二进制工具链,旨在通过将代码编译为优化的可执行文件,消除虚拟机预热时间并确保即时启动。

    scala-native/scala-native 的主要功能有哪些?

    scala-native/scala-native 的主要功能包括:Ahead-Of-Time Compilers, Native Binary Toolchains, Native AOT Compilation, Standalone Binaries, Binary Compilation, Scala-to-C Interfaces, Garbage-Collected Runtimes, Native C Interoperability。

    scala-native/scala-native 有哪些开源替代品?

    scala-native/scala-native 的开源替代品包括: crystal-lang/crystal — Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It… c3lang/c3c — c3c is the compiler for the C3 programming language, transforming source code into executable binaries, static… canadahonk/porffor — Porffor is an ahead-of-time compiler that converts JavaScript and TypeScript source code into native machine code or C… jetbrains/kotlin-native — Kotlin-native is an ahead-of-time, cross-platform compiler and toolchain that transforms Kotlin source code into… nim-lang/nim — Nim is a statically typed, compiled systems programming language designed for high performance and cross-platform… android/ndk-samples — The Android NDK samples provide a comprehensive collection of code examples demonstrating how to integrate C and C++…