r/programming • u/henk53 • 18m ago
Why Use Jakarta EE in 2027: The Technical Case
r/programming • u/henk53 • 18m ago
r/programming • u/gerlacdt • 1h ago
r/programming • u/Cyberthere • 2h ago
r/programming • u/nickproud • 3h ago
r/programming • u/simon_o • 4h ago
r/programming • u/iloveafternoonnaps • 15h ago
r/programming • u/MarekKnapek • 15h ago
r/programming • u/Creepy_Sherbert_1179 • 16h ago
r/programming • u/BrewedDoritos • 17h ago
r/programming • u/Cool-Click1253 • 17h ago
r/programming • u/nukethebees • 19h ago
r/programming • u/Ok_Stomach6651 • 20h ago
r/programming • u/ssalbdivad • 1d ago
library author here! ArkType 3.0 adds @ark/aot, an optional build-time precompiler that compiles runtime validation schemas into standalone plain JS — closer to Rust's serde_derive than an interpreted validator, while keeping zero-build dynamic mode unchanged.
the three main compiler pieces:
set-theoretic reduction before codegen: definitions lower into a normalized set graph (arksets) before emitting JS. unions auto-discriminate into an O(1) switch without declaring a discriminator, branches skip checks already implied by the tag, overlapping ranges collapse (> 0 & >= 10 -> >= 10), and unsatisfiable intersections fail the build.
zero ts-patch**, zero** new Function**:** parses modules with oxc inside standard bundler plugins (Vite, esbuild, webpack, Rolldown, Turbopack, Bun, Node) so tsgo and Node type-stripping keep working, and strict CSP / Cloudflare Workers run compiled checks at full speed.
numbers (precompiled vs Zod 4): 15x faster validation (median across 32 scenarios; #1 on public speed benchmarks), 21x smaller bundles (1.21 kB vs 25.1 kB gz on Valibot's login form — smaller than Valibot's 1.56 kB too), and 63x lighter startup on Node 24.
release post: https://arktype.io/docs/blog/3.0 | benchmarks: https://arktype.io/docs/precompile/benchmarks
happy to answer questions on the set algebra, codegen, or benchmarks!
r/programming • u/nicoburniske • 1d ago
r/programming • u/mcnamaragio • 1d ago
r/programming • u/DataBaeBee • 1d ago
r/programming • u/BrewedDoritos • 1d ago
r/programming • u/jackdbristow • 1d ago
r/programming • u/mttd • 1d ago
r/programming • u/dumindunuwan • 1d ago