Skip to content

andrestubbe/FastMath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastMath 0.1.0 [ALPHA] — Ultra-Fast Native Math Library for Java

Status License: MIT Java Platform JitPack


⚡A high-performance native math module for the FastJava ecosystem. SIMD-accelerated linear algebra, trigonometry, and interpolation.

FastMath delivers elite mathematical performance by leveraging native SIMD instructions (AVX2/SSE). Built for graphics engines, physics simulations, and high-performance computing.


FastKeyboard Showcase


Table of Contents


Quick Start

import fastjson.FastJSON;
import fastjson.FastJsonValue;

public class Demo {
    public static void main(String[] args) {
        // TODO
    }
}

Features

  • ⚡ SIMD Accelerated: Vector and Matrix operations via AVX2/SSE.
  • 📈 Native Trig: High-speed trigonometric functions optimized for throughput.
  • 📦 Zero GC Stalls: Minimal object creation for high-frequency math.
  • 🚀 Raw Speed: Built for developers who need maximum mathematical performance.

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>fastmath</artifactId>
        <version>0.1.0</version>
    </dependency>
    <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:fastmath:0.1.0'
    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. 📦 fastmath-0.1.0.jar (The Core Library)
  2. ⚙️ fastcore-0.1.0.jar (The Mandatory Native Loader)

License

MIT License — See LICENSE file for details.


Related Projects

  • FastCore — Native Library Loader for Java
  • FastMath — High-performance RawInput engine
  • FastTheme — Advanced UI styling engine

Part of the FastJava EcosystemMaking the JVM faster. Small package. Maximum speed. Zero bloat. 🚀📋

About

⚡High-performance math library for Java. JNI SIMD + OpenCL GPU acceleration. Faster than java.lang.Math.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors