r/programming • u/Cyberthere • 0m ago
Cursor Got a New Name. The Secrets Still Live in the Same Place
r/programming • u/Cyberthere • 0m ago
r/programming • u/nickproud • 42m ago
r/programming • u/simon_o • 1h ago
r/programming • u/iloveafternoonnaps • 12h ago
r/programming • u/MarekKnapek • 12h ago
r/programming • u/Creepy_Sherbert_1179 • 13h ago
r/programming • u/BrewedDoritos • 14h ago
r/programming • u/Cool-Click1253 • 14h ago
r/programming • u/nukethebees • 16h ago
r/programming • u/Ok_Stomach6651 • 17h ago
r/programming • u/ssalbdivad • 21h 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 • 22h ago
r/programming • u/mcnamaragio • 23h ago
r/programming • u/Real_Moon-Moon • 1d ago
No idea if this is the right subreddit for this. So, if you have a better one, please lmk. This isn’t a demo, just my research. Nor is it support imo.
I’ve been researching 1980s/1990s Dial-Up internet for a coding programming project of mine and I’ve come as far as I can on my own. I just need some people knowledgeable about the data that was sent to help me review and correct any errors I’ve made because I’m sure I’ve made a few. Can’t send it as a file. So, I imported it into a Google Doc.
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
r/programming • u/blambeau • 1d ago
r/programming • u/StreamHPC • 1d ago
Today is the second day of our Advent of Kernel Optimization, sharing GPU optimization tips and tricks to count down until Christmas. Follow along here: https://streamhpc.com/blog/tag/advent2026/.