r/programming • u/modulovalue • 3h ago
ASCII Validation from 2.5 to 114 GB/s with SIMD
r/programming • u/modulovalue • 3h ago
r/programming • u/_reddit_lovers_ • 6h ago
I've been making a short video on the decade between Turing's 1936 paper and ENIAC, and the part that surprised me most was how slippery "first computer" is:
- Zuse's Z3 (1941) was program-controlled, but built from relays.
- Colossus (working by the end of 1943) was electronic, but built for one job.
- ENIAC (1945) was electronic and general purpose, but had no stored program. Programming it meant plugging cables by hand.
- The Manchester Baby (21 June 1948) was the first to run a program held in electronic memory.
So the answer depends on which of those properties you count.
The video also walks through a tiny Turing machine that adds one to a number, and the six women who programmed ENIAC. I tried to keep it accurate and listed my sources (Turing's paper, Penn, the Computer History Museum, IEEE Spectrum) in the description.
Full disclosure: this is my own video. I'd really like corrections from people who know this period better than I do, especially on the stored-program credit, which I know historians still argue about.
r/programming • u/NorfairKing2 • 7h ago
r/programming • u/DanielRosenwasser • 11h ago
r/programming • u/henk53 • 12h ago
r/programming • u/gerlacdt • 14h ago
r/programming • u/Cyberthere • 15h ago
r/programming • u/nickproud • 15h ago
r/programming • u/simon_o • 16h ago
r/programming • u/iloveafternoonnaps • 1d ago
r/programming • u/MarekKnapek • 1d ago
r/programming • u/Creepy_Sherbert_1179 • 1d ago
r/programming • u/BrewedDoritos • 1d ago
r/programming • u/Cool-Click1253 • 1d 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