|
| 1 | +# ⚡ FastJava — Native Java Performance Ecosystem [ALPHA] |
| 2 | + |
| 3 | +> **5-50× faster than standard Java** — JNI-native libraries for automation, screen capture, graphics, math, JSON, and more. |
| 4 | +
|
| 5 | +[](https://opensource.org/licenses/MIT) |
| 6 | +[](https://www.java.com) |
| 7 | +[](https://jitpack.io/#andrestubbe) |
| 8 | + |
| 9 | +--- |
| 10 | + |
| 11 | +## 🚀 Performance First |
| 12 | + |
| 13 | +| Operation | Standard Java | FastJava | Speedup | |
| 14 | +|-----------|---------------|----------|---------| |
| 15 | +| Float Parsing | `Float.parseFloat()` | `FastFloat.parse()` | **5-12×** | |
| 16 | +| JSON Parsing | Jackson/Gson | `FastJSON.parse()` | **50×** | |
| 17 | +| Screen Capture | `java.awt.Robot` | `FastRobot.capture()` | **10-17×** | |
| 18 | +| String Operations | `java.lang.String` | `FastString` | **10-100×** | |
| 19 | +| File I/O | `java.nio` | `FastFileChannel` | **5-20×** | |
| 20 | +| Math (Trig) | `java.lang.Math` | `FastMath.sin()` | **3-8×** | |
| 21 | + |
| 22 | +**Zero-GC.** **Zero-Copy.** **Native Speed.** |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## 📦 Quick Start |
| 27 | + |
| 28 | +### Maven (JitPack) |
| 29 | + |
| 30 | +```xml |
| 31 | +<repositories> |
| 32 | + <repository> |
| 33 | + <id>jitpack.io</id> |
| 34 | + <url>https://jitpack.io</url> |
| 35 | + </repository> |
| 36 | +</repositories> |
| 37 | + |
| 38 | +<dependency> |
| 39 | + <groupId>com.github.andrestubbe</groupId> |
| 40 | + <artifactId>fastfloat</artifactId> |
| 41 | + <version>1.1.0</version> |
| 42 | +</dependency> |
| 43 | +``` |
| 44 | + |
| 45 | +### Gradle |
| 46 | + |
| 47 | +```groovy |
| 48 | +repositories { |
| 49 | + maven { url 'https://jitpack.io' } |
| 50 | +} |
| 51 | +
|
| 52 | +dependencies { |
| 53 | + implementation 'com.github.andrestubbe:fastfloat:1.1.0' |
| 54 | +} |
| 55 | +``` |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +## 🗺️ Ecosystem Overview |
| 60 | + |
| 61 | +### 🔧 System & Native Access |
| 62 | +| Library | Speed | Purpose | |
| 63 | +|---------|-------|---------| |
| 64 | +| [FastCore](https://github.com/andrestubbe/fastcore) | — | Unified JNI loader for Windows/Linux/macOS | |
| 65 | +| [FastClipboard](https://github.com/andrestubbe/fastclipboard) | 2-3× | Native clipboard access (no AWT bugs) | |
| 66 | +| [FastHotkey](https://github.com/andrestubbe/fasthotkey) | — | Global system-wide hotkeys | |
| 67 | +| [FastTouch](https://github.com/andrestubbe/fasttouch) | — | Multi-touch & pressure input | |
| 68 | +| [FastStylus](https://github.com/andrestubbe/faststylus) | — | Pen pressure, tilt, eraser detection | |
| 69 | +| [FastIO](https://github.com/andrestubbe/fastio) | 5-20× | Memory-mapped file I/O | |
| 70 | + |
| 71 | +### 🎨 Graphics & UI |
| 72 | +| Library | Speed | Purpose | |
| 73 | +|---------|-------|---------| |
| 74 | +| [FastScreen](https://github.com/andrestubbe/fastscreen) | 500-2000 FPS | Zero-copy screen capture (DXGI) | |
| 75 | +| [FastImage](https://github.com/andrestubbe/fastimage) | 10-50× | SIMD image processing | |
| 76 | +| [FastGraphics](https://github.com/andrestubbe/fastgraphics) | 600% | GPU-accelerated Graphics2D | |
| 77 | +| [FastTheme](https://github.com/andrestubbe/fasttheme) | — | Native Windows theming | |
| 78 | +| [FastImageView](https://github.com/andrestubbe/fastimageview) | 10× | DirectX image viewer | |
| 79 | +| [FastNotification](https://github.com/andrestubbe/fastnotification) | — | Native Windows toast notifications | |
| 80 | + |
| 81 | +### ⚡ Performance Libraries |
| 82 | +| Library | Speed | Purpose | |
| 83 | +|---------|-------|---------| |
| 84 | +| [FastFloat](https://github.com/andrestubbe/fastfloat) | 5-12× | SIMD float/double parsing | |
| 85 | +| [FastString](https://github.com/andrestubbe/faststring) | 10-100× | UTF-8 string operations | |
| 86 | +| [FastBytes](https://github.com/andrestubbe/fastbytes) | 2-50× | Bulk byte operations | |
| 87 | +| [FastJSON](https://github.com/andrestubbe/fastjson) | 50× | Zero-copy JSON parser | |
| 88 | +| [FastMath](https://github.com/andrestubbe/fastmath) | 3-8× | SIMD + GPU math acceleration | |
| 89 | + |
| 90 | +### 🎬 Animation |
| 91 | +| Library | Purpose | |
| 92 | +|---------|---------| |
| 93 | +| [FastTween](https://github.com/andrestubbe/fasttween) | Ultra-fast tweening engine | |
| 94 | +| [FastAnimation](https://github.com/andrestubbe/fastanimation) | Timeline orchestration | |
| 95 | + |
| 96 | +### 🤖 AI & Automation |
| 97 | +| Library | Purpose | |
| 98 | +|---------|---------| |
| 99 | +| [FastRobot](https://github.com/andrestubbe/fastrobot) | Screen capture & automation | |
| 100 | +| [FastAI](https://github.com/andrestubbe/fastai) | Unified AI client (Local + Cloud) | |
| 101 | + |
| 102 | +--- |
| 103 | + |
| 104 | +## 🎯 Philosophy |
| 105 | + |
| 106 | +Java alone cannot do: |
| 107 | +- ❌ Global hotkeys when unfocused |
| 108 | +- ❌ Low-latency screen capture |
| 109 | +- ❌ Reliable clipboard operations |
| 110 | +- ❌ Hardware I/O access |
| 111 | +- ❌ GPU acceleration |
| 112 | +- ❌ Native input devices |
| 113 | + |
| 114 | +**FastJava fixes this.** Pure C++ accelerators. JNI bindings. Zero overhead. |
| 115 | + |
| 116 | +--- |
| 117 | + |
| 118 | +## 📚 Documentation |
| 119 | + |
| 120 | +- [📖 Getting Started Guide](https://github.com/andrestubbe/FastJava/blob/main/GETTING_STARTED.md) |
| 121 | +- [🗺️ Module Map — All 20+ Libraries](https://github.com/andrestubbe/FastJava/blob/main/MAP.md) |
| 122 | +- [🏗️ Architecture Overview](https://github.com/andrestubbe/FastJava/blob/main/ARCHITECTURE.md) |
| 123 | +- [🛣️ Roadmap 2026-2028](https://github.com/andrestubbe/FastJava/blob/main/ROADMAP.md) |
| 124 | +- [❓ FAQ](https://github.com/andrestubbe/FastJava/blob/main/FAQ.md) |
| 125 | + |
| 126 | +--- |
| 127 | + |
| 128 | +## 🌌 Origin Story |
| 129 | + |
| 130 | +<details> |
| 131 | +<summary>WHY, HOW, BECAUSE, THEREFORE — The Reason FastJava Exists</summary> |
| 132 | + |
| 133 | +### 🌒 WHY — The Restlessness Before the First Module |
| 134 | +Java developers accept slowness as inevitable. We don't. |
| 135 | + |
| 136 | +### 🌕 HOW IT STARTED — The Moment Everything Shifted |
| 137 | +First module: FastClipboard. 2× faster, zero bugs vs. AWT. Proof of concept. |
| 138 | + |
| 139 | +### 🌖 BECAUSE — The Realization That Changed Everything |
| 140 | +Java's "write once, run anywhere" became "write once, run slow everywhere." |
| 141 | +Native code isn't the enemy — unnecessary abstraction is. |
| 142 | + |
| 143 | +### 🌑 THEREFORE — The Reason FastJava Exists |
| 144 | +Maximum performance through minimal overhead. JNI where it matters. Pure Java where it doesn't. |
| 145 | + |
| 146 | +</details> |
| 147 | + |
| 148 | +--- |
| 149 | + |
| 150 | +## 🚧 Current Status |
| 151 | + |
| 152 | +**[ALPHA]** — APIs may change. Not production-ready yet. |
| 153 | + |
| 154 | +- ✅ 20+ Libraries available |
| 155 | +- ✅ Windows fully supported |
| 156 | +- 🔄 Linux/macOS in progress |
| 157 | +- 🔄 Maven Central coming soon |
| 158 | + |
| 159 | +--- |
| 160 | + |
| 161 | +## 📜 License |
| 162 | + |
| 163 | +MIT License — See [LICENSE](LICENSE) |
| 164 | + |
| 165 | +--- |
| 166 | + |
| 167 | +## 🔗 Quick Links |
| 168 | + |
| 169 | +- [🏠 FastJava Organization](https://github.com/andrestubbe) |
| 170 | +- [📦 JitPack Repository](https://jitpack.io/#andrestubbe) |
| 171 | +- [💬 Discussions](https://github.com/andrestubbe/FastJava/discussions) |
| 172 | +- [🐛 Issue Tracker](https://github.com/andrestubbe/FastJava/issues) |
| 173 | + |
| 174 | +--- |
| 175 | + |
| 176 | +**Keywords:** fast java, java native performance, java jni performance, fastest java libraries, java native acceleration, java windows api, java gpu acceleration, java simd acceleration, java optimization, high performance java |
0 commit comments