|
1 | 1 | # ParserNG 2.0.6 🧮⚡ |
2 | 2 |
|
3 | | -### High-Performance, Interpreted Math Engine for Java |
| 3 | +### The Fastest Pure-Java Expression Engine + Vector Math Kernels |
4 | 4 |
|
5 | | -**ParserNG** is a blazing-fast, zero-native-dependency, pure Java math expression parser and evaluator designed for high-throughput applications—ranging from real-time simulations to scientific computing and Android apps. |
| 5 | +**ParserNG** is a pure-Java expression evaluation engine designed for high-performance enterprise workloads, including complex mathematical pipelines and transformer activations. |
| 6 | +By utilizing a high-speed interpreted model instead of risky bytecode generation, it achieves near-native throughput with zero JNI, simplifying your SBOM and compliance posture. |
| 7 | +Built on the JDK Vector API and principles of mechanical sympathy, ParserNG is the secure, portable choice for modern JVM infrastructures. |
6 | 8 |
|
7 | | -Unlike compilers that introduce overhead via runtime bytecode generation (e.g., Janino), ParserNG achieves near-native speeds through **mechanical sympathy**, loop unrolling, and the **JDK Vector API**. |
| 9 | +**Benchmarks:** `SwiGLU: 1.8ns/elem` | `GeLU: 2.1ns/elem` | `Expr: scalable(generally faster than Janino on single core)` | `JDK 21+ |(SIMD) & maintains compatiblility till JDK8` |
8 | 10 |
|
9 | | -## 🏢 Enterprise Support & Commercial Assurances |
10 | | -ParserNG is used by top-tier global enterprises, including Fortune 500 financial institutions, telecom giants, and consulting firms. |
11 | | -If your organization relies on ParserNG for production-critical math parsing, we offer formal commercial channels to ensure compliance and stability: |
| 11 | +--- |
| 12 | + |
| 13 | +### 🏢 Trusted in Production |
| 14 | +**11,000+ Maven Central downloads** | **+250% growth in 90 days** | **618 organizations** |
12 | 15 |
|
13 | | -* **Priority SLAs:** 24/48-hour guaranteed turnaround on bug fixes, performance optimizations, and security queries. |
14 | | -* **Direct Engineering Support:** Direct email access to the author for architectural advice and custom library extension. |
15 | | -* **Supply Chain Security:** Direct validation of ParserNG's zero-dependency architecture for your internal compliance audits. |
| 16 | +**Enterprise Support & Commercial Assurances** |
| 17 | +Production teams choose ParserNG Enterprise for: |
| 18 | +* **Priority SLAs:** 24/48h turnaround on bugs, perf, and security |
| 19 | +* **Zero JNI**: Pure Java. No native crashes, easy SBOM, passes compliance. |
| 20 | +* **Direct Engineering:** Architectural review + custom kernel work from the author |
| 21 | +* **Vector API Speed**: SwiGLU `1.8ns/elem`, GeLU `2.1ns/elem` on JDK 21+. |
| 22 | +* **Enterprise Ready**: Private Maven, Graal Native Image, AVX512 builds, CVE/SBOM reports. |
16 | 23 |
|
| 24 | +👉 **Contact:** `gbenroscience@gmail.com` |
| 25 | +👉 **Sponsor / SMB:** [GitHub Sponsors Corporate Tiers](https://buymeacoffee.com/gbenroscience/membership) |
17 | 26 |
|
18 | | -👉 **Need Enterprise Support?** Contact the maintainer directly at `gbenroscience@gmail.com` or explore our **[GitHub Sponsors Corporate Tiers](https://buymeacoffee.com/gbenroscience/membership)**. |
19 | 27 |
|
20 | 28 | --- |
21 | 29 |
|
22 | 30 | ## 🚀 Performance & Throughput |
23 | 31 |
|
24 | | -* **Speed Champion:** Rivals and often outperforms established engines like Janino, exp4J, and Parsii across bulk data processing tasks. |
25 | | - |
26 | | - |
27 | | -* **Throughput:** Standard mode delivers **3-10 million evaluations/sec**; Turbo mode reaches **10-90 million evaluations/sec**. |
| 32 | +* **Speed Champion:** Rivals and often outperforms established engines like Janino, and Parsii across bulk data processing tasks. |
28 | 33 |
|
| 34 | +* **Throughput:** Standard mode delivers **3-10 million evaluations/sec**; Turbo mode reaches **10-90 million evaluations/sec**; Bulk Turbo: **Single core - up to 200million evaluations/sec, With workers - even more!**. |
29 | 35 |
|
30 | | -* **Turbo Mode:** A specialized compiled path for scalar and matrix operations that eliminates class-loading bottlenecks. |
| 36 | +* **Turbo Mode:** A specialized compiled path for scalar, matrix operations and bulk operations that eliminates class-loading bottlenecks. |
31 | 37 |
|
32 | 38 |
|
33 | 39 |
|
@@ -115,15 +121,40 @@ public void bulkRun() throws Throwable { |
115 | 121 |
|
116 | 122 | ## 📦 Installation |
117 | 123 |
|
118 | | -Add the following to your `pom.xml`: |
| 124 | +To use in your Android or pre-JDK21 environment, add the following to your `pom.xml`: |
119 | 125 |
|
120 | 126 | ```xml |
121 | 127 | <dependency> |
122 | 128 | <groupId>com.github.gbenroscience</groupId> |
123 | 129 | <artifactId>parser-ng</artifactId> |
124 | 130 | <version>2.0.6</version> |
125 | 131 | </dependency> |
| 132 | +``` |
| 133 | + |
| 134 | +To use in JDK21+ environments, do: |
| 135 | + |
126 | 136 |
|
| 137 | +```xml |
| 138 | +<dependency> |
| 139 | + <groupId>com.github.gbenroscience</groupId> |
| 140 | + <artifactId>parser-ng</artifactId> |
| 141 | + <version>2.0.6</version> |
| 142 | +</dependency> |
| 143 | +<dependency> |
| 144 | + <groupId>com.github.gbenroscience</groupId> |
| 145 | + <artifactId>parser-ng-simd</artifactId> |
| 146 | + <version>2.0.6</version> |
| 147 | +</dependency> |
| 148 | +``` |
| 149 | + |
| 150 | +To run the SIMD/scalar fallback APIs for BULK evaluation, add: |
| 151 | + |
| 152 | +```xml |
| 153 | +<dependency> |
| 154 | + <groupId>com.github.gbenroscience</groupId> |
| 155 | + <artifactId>parser-ng-bench</artifactId> |
| 156 | + <version>2.0.6</version> |
| 157 | +</dependency> |
127 | 158 | ``` |
128 | 159 |
|
129 | 160 | --- |
@@ -156,7 +187,8 @@ Add the following to your `pom.xml`: |
156 | 187 | - [BENCHMARK_RESULTS.md](parser-ng/BENCHMARK_RESULTS.md) — full speed comparisons |
157 | 188 | - [GRAPHING.md](parser-ng/GRAPHING.md) — plotting on Swing / JavaFX / Android |
158 | 189 | - [LATEST.md](LATEST.md) — what’s new in 2.0.6 |
159 | | -- [EXAMPLES.md](EXAMPLES.md) — what’s new in 2.0.6 |
| 190 | +- [EXAMPLES.md](EXAMPLES.md) — Some examples |
| 191 | +- [MORE.md](MORE.md) — Even more to know |
160 | 192 | - Javadoc: https://javadoc.io/doc/com.github.gbenroscience/parser-ng/2.0.6 |
161 | 193 | - [Hello world and original readme](src/main/java/com/github/gbenroscience/README.md) — Original readme for pre-1.0 versions with a lot of, still valid, examples |
162 | 194 | --- |
|
0 commit comments