Reading up on programming-languages
100 deep · digging since nov 19, 25
- Queryable Executables
The article explains a technique to compile programs so they can answer queries about their own execution without re-running, using static analysis or embedded metadata.
- Pinning Down Rust’s Pin
The post explains Rust’s Pin type, showing how it enforces immovability for self‑referential futures via the type system and the Unpin marker trait.
- How we saved 100 terabytes of memory by optimizing 1.1.1.1’s DNS cache
Cloudflare reduced its Big Pineapple DNS cache entry size by 56% through five Rust optimizations, freeing ~100 TB of memory while boosting insert throughput 43% and cutting lookup latency 19%.
- Symmetries in boolean scans
The article shows that by exploiting symmetries of boolean scans, only three primitives (∧, <, ≠) need fast implementations to derive all others efficiently.
- Why OOP exists | mathspp
The article explains that OOP exists to model real-world entities via abstractions, showing how Python classes encapsulate data and behavior.
- GitHub - plotly/plotly.js: Open-source JavaScript charting library behind Plotly and Dash
Plotly.js is an open-source JavaScript charting library that powers Plotly and Dash, offering dozens of chart types and flexible loading options.
- Actually Queryable Executables
The SELF format turns executables into SQLite databases, letting programs store and modify their own state and code via SQL, demonstrated by a self‑hosting web server.
- Beautiful Racket by Matthew Butterick
Beautiful Racket is a free online guide by Matthew Butterick that teaches Racket programming through clear examples and an honor‑system payment model.
- Assembly Hall of Shame
The article discusses a compilation of embarrassing or flawed assembly language examples highlighted in a Hacker News post titled 'Assembly Hall of Shame'.
- Tracking down the 16-year-old WAL-reset SQLite bug
Researchers uncovered a 16‑year‑old bug in SQLite’s WAL‑reset handling that could cause database corruption during routine checkpoint sequences and affect performance.
- “Code was never the hard part” is an insult to all programmers
The piece argues that claiming 'code was never the hard part' belittles programmers by ignoring the real challenges they face in software development.
- Python Polars Cheatsheet (based on our O'Reilly book)
Provides a concise Python Polars cheat sheet derived from the authors' O'Reilly book, covering core DataFrame operations, syntax, and common workflow patterns.
- Tidal Cycles – Live coding music with Algorithmic patterns
Tidal Cycles enables musicians to create algorithmic music live by coding patterns in real time, blending programming with improvisational performance.
- Ask HN: Do you know of any company that went back to hand-written code?
The poster asks Hacker News whether any companies have abandoned automated code generation and returned to manually writing code today.
- Geolocating a random island using geometry and CUDA programming
Researchers demonstrate that combining spherical geometry with CUDA‑accelerated computation can pinpoint the latitude and longitude of an arbitrary island from minimal data.
- JIT Compiling Code in 5μs - malisper.me
The article demonstrates a Rust copy‑and‑patch JIT compiler that compiles regexes in ~5µs, matching handwritten speed and enabling per‑query JIT in databases.
- Fibs and Fibbonacci - is LOGOS faster than Zig?
LOGOS is not the fastest language; its speed claims rely on toy benchmarks, non‑idiomatic comparisons, and a benchmark bug that makes it slower than Zig after correction.
- When the Hard Part Stops Being Hard
Using an LLM to mechanize proofs in Lean cut months of work to weeks, showing that PL research can now be produced far faster, reshaping publication expectations.
- What's the best programming language for coding agents?
Dan Luu's empirical tests with LLMs on Zstd and Pandoc implementations show that language popularity weakly correlates with better outcomes, but claims about dynamic or token-efficient languages being superior for coding agents do not hold across non-trivial tasks.
- SwiftUI After 7 Years: A Story of Mediocrity: Will it ever stop feeling like a beta? — Yakov Manshin
SwiftUI after seven years remains unstable, performs poorly, and lacks API stability, forcing workarounds and reflecting Apple’s lowered quality standards.
- Introduction - MapLibre GL JS
MapLibre GL JS is a TypeScript library using WebGL to render interactive maps from vector tiles, with documentation on installation, usage, and integration across bundlers.
- Octane — React's programming model, compiled
Octane compiles React‑style hooks, Suspense and actions ahead of time, removing the virtual DOM and hook rules while preserving familiar semantics.
- Show HN: A self-running space economy SIM in Rust and Bevy
The author introduces a self-running space‑economy simulation written in Rust using the Bevy game engine, demonstrating emergent trade and resource dynamics.
- The Java Story – The Official Documentary [video]
The official documentary traces Java's origins, evolution, and impact on software development, featuring interviews with key creators and industry figures.
- Do we still need build tools?
The article argues that while modern CSS and JS features reduce the need for many build tools, bundling and minification remain essential for larger projects.
- Postgres rewritten in Rust, now passing 100% of the Postgres regression tests
A rewrite of PostgreSQL in Rust has successfully passed all official regression tests, demonstrating full compatibility with the original database system.
- Ask HN: What Are You Working On? (July 2026)
An Ask HN thread invites users to share their current projects and work-in-progress as of July 2026, encouraging brief descriptions, links, and updates on personal or professional endeavors.
- Interview with Mitchell Hashimoto about Ghostty and Zig
Mitchell Hashimoto discusses building Ghostty, a fast GPU‑accelerated terminal, using Zig for performance and safety, and shares lessons on language choice and open‑source development.
- FAANG Simulator
FAANG Simulator is an interactive tool that lets users practice coding interviews with questions modeled after those asked at Facebook, Amazon, Apple, Netflix, and Google.
- Upyo | Cross-runtime email library
Upyo is a small, cross‑runtime email library for JavaScript/TypeScript that lets you write a message once and send it via SMTP or providers on Node.js, Deno, Bun, and edge functions.
- RubyGems.org | your community gem host
The article describes RubyGems.org as a community‑run gem host maintained by Ruby Central, highlighting its Supporter Program and donation options.
- Better Auth: an introduction
Better Auth is a TypeScript authentication library that runs inside your app, stores users in your own database, and provides server and client APIs with optional plugins.
- Announcing TypeScript 7.0 - TypeScript
TypeScript 7.0 launches a native Go‑based compiler that delivers 8‑12× faster builds and editor responsiveness, validated by large‑scale production testing.
- Fintech Engineering Handbook
Hacker News commenters debate whether monetary values must always be stored as integers, with quants arguing floats suffice for risk modeling but transfers require exact integer precision.
- Working With AI: A concrete example
A developer recounts using Claude to debug a hyperscript parser bug, illustrating AI's strengths in analysis and boilerplate but weakness in design judgment and general-case solutions.
- Iterating faster with TypeScript 7
The VS Code team incrementally adopted TypeScript 7, a Go port of the compiler, achieving 4–7× speedups in builds and editor tooling.
- RubyKaigi 2026 - RubyKaigi 2026
RubyKaigi 2026 was held April 22-24 at Hakodate Arena and Citizen Hall in Hokkaido, Japan, with keynotes from Matz, Charles Nutter, and Satoshi Tagomori.
- Go Micro - Agent Harness for Go
Go Micro provides a unified runtime for building agents, services, and workflows with built-in AI capabilities like MCP and A2A gateways.
- C++: The Documentary
A new documentary chronicles C++'s 40-year history from Bell Labs to becoming the fastest-growing top-four language, with 90% user growth in 3.5 years.
- Thi.ng – open-source building blocks for computational design and art
Thi.ng is a 350-module open-source toolkit for computational design and generative art, built bottom-up with small, composable pieces.
- Bonsai — Safe Expressions for Rules, Filters, and Templates
Bonsai is a safe expression language for rules, filters, templates, and user-authored logic that replaces eval() with typed errors and sandbox controls.
- TypeScript Performance in TanStack Table V9
TanStack Table V9 cut TypeScript type instantiations by 62-86% between alpha.54 and beta.12 using feature maps, interfaces, variance annotations, and explicit type arguments.
- GitHub - gajus/zod-compiler: Compile Zod schemas into zero-overhead validation functions at build time. Works with Vite, webpack, esbuild, Rollup, etc
The zod-compiler tool compiles Zod schemas into zero-overhead validation functions at build time, providing 2-75x faster validation without requiring any code changes.
- In Defense of YAML :: Posit Open Source
Posit releases py-yaml12, a Rust-backed Python library implementing YAML 1.2, arguing many criticisms of YAML stem from outdated PyYAML's 1.1 behavior rather than the modern spec.
- invlpg – Premature Optimization is Fun Sometimes
A developer describes optimizing a 12KB ping-monitoring ring buffer down to 4KB using bitfields and tagged unions purely for enjoyment, despite the application not being memory-constrained.
- What’s new in Python 3.15 — Python 3.15.0b2 documentation
Python 3.15 introduces PEP 810, which enables explicit lazy imports to defer module loading and improve startup performance.
- Plotly javascript graphing library in JavaScript
Plotly.js is a declarative, high-performance JavaScript graphing library that uses JSON to describe interactive statistical and scientific charts.
- GitHub - AllThingsSmitty/typescript-tips-everyone-should-know: A curated collection of practical TypeScript patterns that improve safety, readability, maintainability, and developer experience.
A curated collection of practical TypeScript patterns that improve safety, readability, maintainability, and developer experience.
- You Only Use 10% of Printf() – Here Are Things They Didn't Teach You [video]
A developer discusses underused printf features (e.g., %*d for dynamic width, %n for written character count) that can make debugging and formatting more concise.
- You Only Use 10% of Printf() – Here Are Things They Didn't Teach You [video]
This video reveals advanced printf() features that most programmers never learn, including format specifiers and hidden complexity.
- All Lean Books and Where to Find Them
A personal guide lists and reviews nine Lean 4 books, offering subjective opinions and suggested learning paths.
- Use boring languages with LLMs
Using boring languages like Go with LLMs reduces variance in training data, leading to more predictable and reliable code generation.
- Mini Micro Fantasy Computer
Hacker News commenters discuss Mini Micro, a fantasy computer running MiniScript, comparing it to Pico-8 and debating its language design and educational value.
- Component Party
Component Party shows side-by-side React and Svelte 5 code examples for common component patterns, highlighting syntax differences in state, effects, and template logic.
- The occasional `ECONNRESET`
Closing a TCP socket with `shutdown(RD_WR)` or `close()` can cause `ECONNRESET` errors for the peer because data still in flight may be discarded before the receiver finishes reading.
- I don't think AI will make your processes go faster
AI-assisted coding accelerates iteration but cannot yet autonomously produce workable, evolvable production software without close human supervision and significant polish effort.
- GitHub - zenbu-labs/zenbu.js: The framework for building hackable software
Zenbu.js is a JavaScript framework that makes applications extensible by default, allowing users to modify source code or inject plugins with hot reloading.
- I have officially retired from Emacs
Chris Wellons retired from Emacs after 20 years, replacing its tools like Elfeed with native C++ GUI apps built using AI assistance.
- Agents need control flow, not more prompts
Building deterministic control flow into agent harnesses, rather than relying on prompts alone, is essential for reliable AI agent behavior.
- Tool: Redis Array Playground
An interactive playground lets users try experimental Redis array commands via WASM, including ARGREP for server-side regex matching.
- Haskell for all: A bidirectional typechecking puzzle
Gabriella439 fixed a bug in Grace's bidirectional typechecker by implementing a most-specific supertype algorithm, enabling correct type inference for heterogeneous JSON-like lists without explicit annotations.
- bun/docs/PORTING.md at claude/phase-a-port · oven-sh/bun
This document defines the rules and idiom map for porting the Bun JavaScript runtime from Zig to Rust in a two-phase process: Phase A produces a draft Rust file, and Phase B makes it compile.
- GitHub - gragland/codex-imessage-handoff: Work from iMessage baby
A Codex skill routes prompts from iMessage or SMS into a local Codex thread via Sendblue, enabling remote continuation of coding sessions.
- Quarkdown – Markdown with Superpowers
Quarkdown extends Markdown with programmable features for advanced typesetting, positioning itself as a simpler alternative to LaTeX and competing with Typst.
- I built a Game Boy emulator in F#
The author documents building a Game Boy emulator in F#, highlighting how the language's functional features simplified emulation logic and state management.
- Drunk post: Things I've learned as a senior engineer (2021)
A senior engineer's drunken list of candid career advice criticizes interview processes, praises dynamic languages, and emphasizes documentation and financial planning.
- Tempest vs. Tempest: The Making and Remaking of Atari's Iconic Video Game
A free, book-length technical analysis dissects the 6502 and 68K assembler source code behind Atari's Tempest (1981) and Tempest 2000 (1994).
- Lisette a little language inspired by Rust that compiles to Go
Lisette compiles to Go and adds Rust-inspired features like algebraic data types, pattern matching, and no nil for better type safety.
- Cherri – programming language that compiles to an Apple Shortuct
Cherri is a programming language that compiles directly to Apple Shortcuts, enabling developers to create and maintain large shortcut projects using a text-based workflow.
- Java 26 is here
Java 26 releases with a smaller feature set to lay groundwork for Project Valhalla's value types, expected later this year.
- Making WebAssembly a first-class language on the Web
A proposal to make WebAssembly a first-class language on the web using the Component Model for direct Web API access, eliminating JavaScript glue code.
- AI Code
Function naming, side-effect control, and strict model design (using branded types) are the core practices that keep a codebase self-documenting and maintainable.
- Haskell for all: A sufficiently detailed spec is code
The article argues that specifications must become code-like to be precise, making agentic coding unreliable; even detailed specs like Symphony's fail to produce working implementations.
- Returning to Rails in 2026
Hacker News commenters debate the merits of Ruby on Rails in 2026, with many praising its conventions and stability while criticizing lack of typing and AI-oriented marketing.
- Don't Vibe — Prove
Dependent types in Lean 4 unify specification and implementation, letting AI generate provably correct code while the compiler verifies correctness automatically.
- Temporal: The 9-year journey to fix time in JavaScript
After nine years of work, the Temporal proposal reached Stage 4, providing a modern, immutable date/time API to replace JavaScript's flawed Date object.
- I built a programming language using Claude Code — Ankur Sethi's Internet Website
The author built a programming language called Cutlet entirely using Claude Code without reading any generated code, demonstrating effective agentic engineering practices.
- Artificial-life: A simple (300 lines of code) reproduction of Computational Life
A 300-line Python reproduction of a paper where self-replicating Brainfuck-like programs emerge from simple interaction and compete on a grid.
- [2603.01896] Agentic Code Reasoning
Semi-formal reasoning, a structured prompting methodology, improves LLM agents' ability to reason about code semantics without execution, boosting accuracy on patch equivalence, fault localization, and code question answering tasks.
- Go is the Best Language for AI Agents
Based on experience building Bruin, the author argues Go's simplicity, fast compilation, standardized tooling, and cross-platform support make it ideal for AI-agent-generated code.
- Show HN: X86CSS – An x86 CPU emulator written in CSS
A developer created a fully functional x86 CPU emulator using only CSS, demonstrating Turing completeness of CSS, though it currently only runs in Chromium-based browsers.
- Introducing helm - Ben Gubler
Helm is a typed TypeScript framework that replaces dozens of AI agent tools with two (search and execute) and sandboxes LLM-generated code with granular permissions.
- Using go fix to modernize Go code
Go 1.26's rewritten `go fix` command applies analyzers to modernize Go code, motivated by ensuring LLMs train on up-to-date idioms.
- Vim 9.2 | Hacker News
Vim 9.2 adds Wayland support, XDG compliance, fuzzy completion, diff improvements, and Vim9 script enhancements like enums and generics.
- I fixed Windows native development
Requiring Visual Studio installation for native Windows development creates a complex dependency resolution burden that distracts from actual project work.
- Parse, Don't Validate (2019)
The article argues that data should be parsed into types that make illegal states unrepresentable at system boundaries, rather than scattered through validation checks.
Takes
Git at Scale (by cursor) has been one of the most interesting blog posts i've read in a while. It came right when I was frustrated with Shopify's internal git system. As an exercise, I've implemented it over the weekend as open source. It's a single rust binary that you can point at any S3 type object store. It uses WAL and CAS primitives and requires no other data store. It also implements bundle-uri so large git repos (like our mono) are very fast to download as a chain of static bundles. Also comes with basic familiar UX.
@tobi
I built
@iannuttall
/show-me: compact visual representations for coding agents
@dexhorthy
Not since the earliest days of discovering Ruby have I been this excited to jump out of bed and get in front of the keyboard. A million ideas, all bouncing around in my head, just waiting to be prompted. What a time to be alive!
@dhh
Fable one-shotted a Rust rewrite of the TerminalTextEffects Python library in 11M tokens. Startup time went from 87ms to 2ms and rendering speed is up by 9.6x. Now zero dependencies and a 3mb single exec 🤯 https://claude.ai/code/artifact/287825bc-7aad-4541-a7e7-fa4ba8d03612
@dhh
we're trending on GitHub!
@ellie_huxtable
I reviewed a Redis me optimization and was about to submit the PR. Then I said myself: "wait, we are in 2026" and wrote a script that calls Sol and Fable at each turn, challenging to improve the work of the previous one... Soon to be continued with the results.
@antirez
orcdev at it again.
@shadcn
My SIMD post was on HN and the general hostility towards understanding how computers work and owning your own outcomes is really depressing. A large amount of people seem to simply have the attitude that they hope someone else pays their bills for them. https://news.ycombinator.com/item?id=49010648
@mitchellh
How are you guys feeling about Fable so far?
@theo
Mise makes dev life so much simpler. A single env manager for Ruby, JavaScript, Go, and all the modern AI tooling. Every project can have their own versions. Stable system packages can be separated from high-churn AI tooling. Thrilled to sponsor @jdx in this mission!
@dhh
I’m a huge Anders fanboy. Turbo Pascal and Delphi was my home for many years. C# thanks to @migueldeicaza was my secret love when I was diving into Linux and TypeScript is what made JavaScript enjoyable for me.
@mitsuhiko
OK, well. I ran /autoresearch on the the liquid codebase. 53% faster combined parse+render time, 61% fewer object allocations. This is probably somewhat overfit, but there are absolutely amazing ideas in this.
@tobi
In the next version of Bun`Bun.cron(file, schedule, name)` schedules a function to be called on a recurring interval pic.twitter.com/9zrysn0Waj
@jarredsumner