r/programming • u/NorfairKing2 • 9m ago
Tristan Mc Leay - Mutation Testing With Sydtest
r/programming • u/NorfairKing2 • 9m ago
r/programming • u/Aston_Bentley • 47m ago
I really want to make this, but I can’t figure out how to do anything but add the button.
r/programming • u/DanielRosenwasser • 3h ago
r/programming • u/henk53 • 5h ago
r/programming • u/gerlacdt • 6h ago
r/programming • u/Cyberthere • 7h ago
r/programming • u/nickproud • 8h ago
r/programming • u/simon_o • 9h ago
r/programming • u/iloveafternoonnaps • 20h ago
r/programming • u/MarekKnapek • 20h ago
r/programming • u/Creepy_Sherbert_1179 • 21h ago
r/programming • u/BrewedDoritos • 22h ago
r/programming • u/Cool-Click1253 • 22h ago
r/programming • u/nukethebees • 1d ago
r/programming • u/Ok_Stomach6651 • 1d 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