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
scala-native avatar

scala-native/scala-native

0
View on GitHub↗
4,670 stars·388 forks·Scala·18 viewsscala-native.org↗

Scala Native

Scala Native is an ahead-of-time compiler that transforms Scala source code into standalone native binaries for direct execution on hardware. It provides a native binary toolchain designed to eliminate virtual machine warm-up times and ensure instant startup by compiling code into optimized executables.

The project features a C interoperability interface and foreign function interface that map native C headers to language objects, allowing for the direct execution of external libraries. It includes a low-level memory manager that supports direct pointer manipulation and the use of structs for precise control over memory layout.

The system utilizes LLVM-based compilation and static binary linking to bundle runtime components into a single file. It balances low-level hardware access with automatic garbage-collected memory management for bare metal application development.

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.
  • 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 history

Star history chart for scala-native/scala-nativeStar history chart for scala-native/scala-native

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 Scala Native

Similar open-source projects, ranked by how many features they share with Scala Native.
  • crystal-lang/crystalcrystal-lang avatar

    crystal-lang/crystal

    20,299View on 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
    View on GitHub↗20,299
  • c3lang/c3cc3lang avatar

    c3lang/c3c

    5,147View on 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
    View on GitHub↗5,147
  • canadahonk/porfforCanadaHonk avatar

    CanadaHonk/porffor

    4,709View on 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
    View on GitHub↗4,709
  • jetbrains/kotlin-nativeJetBrains avatar

    JetBrains/kotlin-native

    6,982View on 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
    View on GitHub↗6,982
See all 30 alternatives to Scala Native→

Frequently asked questions

What does scala-native/scala-native do?

Scala Native is an ahead-of-time compiler that transforms Scala source code into standalone native binaries for direct execution on hardware. It provides a native binary toolchain designed to eliminate virtual machine warm-up times and ensure instant startup by compiling code into optimized executables.

What are the main features of scala-native/scala-native?

The main features of scala-native/scala-native are: Ahead-Of-Time Compilers, Native Binary Toolchains, Native AOT Compilation, Standalone Binaries, Binary Compilation, Scala-to-C Interfaces, Garbage-Collected Runtimes, Native C Interoperability.

What are some open-source alternatives to scala-native/scala-native?

Open-source alternatives to scala-native/scala-native include: 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++…