Skip to content

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastCore 0.1.0 [ALPHA-2026-05-17] — Native Library Loader & JNI Utilities for Java

Status License: MIT Java Platform JitPack

⚙️ The ultra-minimal foundation powering the entire FastJava ecosystem.

FastCore provides the mandatory native library extraction and loading engine for the FastJava ecosystem. It ensures that bundled DLLs are safely deployed and loaded across different environments with zero overhead.

FastFileIndex Showcase


Table of Contents


// Quick Start  Loading a native library

import fastcore.FastCore;

public class MyNativeApp {
    static {
        // Automatically extracts and loads fastnative.dll from resources
        FastCore.loadLibrary("fastnative");
    }
}

Key Features

  • 📥 Smart Extraction: Automatically handles temporary file deployment for JNI DLLs.
  • ⏱️ Zero Overhead: Minimalist design focused on JVM startup acceleration.
  • đź”— Ecosystem Base: Required dependency for all FastJava modules.

Performance

FastCore is designed to be the fastest way to bridge Java and Native code during the initialization phase.

Operation FastCore Standard System.load Benefit
Library Extraction < 5 ms N/A (Manual) Automated
JNI Mapping Instant Instant Stable

Installation

Option 1: Maven (Recommended)

Add the JitPack repository and the dependencies to your pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependencies>
   <dependency>
       <groupId>com.github.andrestubbe</groupId>
       <artifactId>fastcore</artifactId>
       <version>0.1.0</version>
   </dependency>
</dependencies>

Option 2: Gradle (via JitPack)

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    implementation 'com.github.andrestubbe:fastcore:0.1.0'
}

Option 3: Direct Download (No Build Tool)

Download the latest JARs directly to add them to your classpath:

  1. 📦 fastcore-0.1.0.jar (The Core Library)

API Reference

Method Description
void loadLibrary(String name) Extracts and loads a native library from the JAR resources.

Documentation

  • COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
  • REFERENCE.md: Full API descriptions, border configurations, and codepoint index.
  • PHILOSOPHY.md: The engineering rationale for zero-allocation performance.
  • ROADMAP.md: Future milestones and planned features.

Platform Support

Platform Status
Windows 10/11 âś… Fully Supported
Linux đź”— Planned
macOS đź”— Planned

License

MIT License See LICENSE file for details.


Related Projects


Part of the FastJava Ecosystem — Making the JVM faster. Small package. Maximum speed. Zero bloat. 🚀📋

About

🧩 Unified JNI loader and native extraction kernel for Java — the ultra‑minimal foundation of the FastJava ecosystem, providing zero‑overhead DLL deployment, cross‑platform native loading, and stable initialization for all high‑performance modules.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages