⚡ Low-latency access to the Windows Desktop Window Manager (DWM). High-precision multimedia timers and VSync synchronization for the FastJava ecosystem.
- ⏱️ Multimedia Timers: 1ms kernel-level precision via
timeSetEvent. - 📺 VSync Sync: Align Java updates with monitor refresh rates.
- 🖥️ DWM Composition: Access to system-level composition timing info.
- 🚀 Ultra-Low Overhead: Direct JNI calls with zero allocation.
# Clone the repository
git clone https://github.com/andrestubbe/FastDWM.git
cd FastDWM
# Build and register locally
.\compile.bat
# Run the Drift Test Demo
.\run-demo.batAdd 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>fastdwm</artifactId>
<version>v0.1.0</version>
</dependency>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastcore</artifactId>
<version>v0.1.0</version>
</dependency>
</dependencies>repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:fastdwm:v0.1.0'
implementation 'com.github.andrestubbe:fastcore:v0.1.0'
}Download the latest JARs directly to add them to your classpath:
- 📦 fastdwm-v0.1.0.jar (The Core Library)
- ⚙️ fastcore-v0.1.0.jar ( The Mandatory Native Loader)
Important
All JARs must be in your classpath for the native JNI calls to function correctly.
We've included a native timing drift test to showcase the precision:
- Run
compile.batto build the native DLL. - Run
run-demo.batto launch the Drift Test.
- COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
- REFERENCE.md: Full API descriptions, border configurations, and codepoint index.
- PHILOSOPHIE.md: The engineering rationale for zero-allocation performance.
- ROADMAP.md: Future milestones and planned features.
| Platform | Status |
|---|---|
| Windows 10/11 | ✅ Fully Supported |
| Linux | 🚧 Planned |
| macOS | 🚧 Planned |
MIT License — See LICENSE file for details.
- FastFileIndex - Binary file indexing with mmap support
- FastFileSearch - Prefix Trie, N-Gram index, and Ranking engine
- FastFileWatch - USN Journal-based live file monitoring
- FastCore - Unified JNI loader and platform abstraction
Part of the FastJava Ecosystem — Making the JVM faster. Small package. Maximum speed. Zero bloat. 🚀📋
