Reading up on programming-languages
100 deep · digging since nov 19, 25
- To save software engineering from LLMs, we need a mainstream verifiable language
To counter declining code quality from LLMs, software engineering must adopt mainstream formal verification tools that are usable by all engineers, not just specialists.
- To save software engineering from LLMs, we need a mainstream verifiable language
The author argues that to combat LLM-induced quality decline, software engineering must adopt mainstream formal verification through usable tools like the proposed Magmide language.
- References and Borrowing - The Rust Programming Language
The Rust compiler prevents data races and dangling pointers at compile time by enforcing that references cannot mutate borrowed data, that multiple mutable references to the same value cannot coexist, and that references must always be valid.
- Migrating our Email API to Go
Resend moved its email API from Node.js to Go, achieving ~50% lower median latency and ~86% less memory per task while preserving exact behavioral compatibility.
- Jonathan Blow – If AI solved coding, why is my software still the same? [video]
Jonathan Blow argues that AI coding tools do not improve software quality because they fail to address the fundamental complexity and design problems that plague software development.
- Unauthenticated remote code execution in Nginx
A bug in Nginx's HTTP/3 implementation (ngx_http_v3_module) allows unauthenticated remote code execution via crafted QUIC packets before the handshake completes.
- Go's growable stacks vs. Rust's Box::pin
Go's goroutines use movable stacks that grow automatically, while Rust's need Box::pin because fixed stacks require compile-time size computation for async state machines.
- A 45-Year-Old Commodore Program Was Recovered From a Paper Printout — And It Works Again — Handheld Hideout
A 1980 Commodore SuperPET air traffic control simulation was recovered from a paper printout and reconstructed by its original creator after 45 years.
- systemd ❤️ Rust - Amutable
Systemd now allows new leaf binaries to be written in Rust with strict design constraints, while keeping the core C shared library unchanged.
- My Vim setup - tr ouwens
A developer details using Vim instead of IntelliJ for Java development via LSP plugins, cautioning it requires significant configuration effort.
- Actual curl rewrites in rust
Daniel Stenberg argues that AI-generated Rust rewrites of curl miss the point: the project's value comes from decades of iteration, community, and rapid bugfixing, not language choice.
- systemd ❤️ Rust - Amutable
systemd now accepts Rust for leaf binaries, built with meson, no_std and fallible allocations, while the shared library stays C.
- systemd ❤️ Rust - Amutable
systemd merges Rust support for leaf binaries only, using meson, no_std, and fallible allocations while keeping the shared library in C.
- Rust 1.100 | Hacker News
Rust 1.100 introduces new language features and stability improvements for systems programming.
- Ask HN: What are forgotten topics in computing that deserve a new revisit?
HN commenters compile overlooked computing topics that merit renewed attention, including Smalltalk, Prolog, and Lisp machines.
- Don't Write Kernels, Derive Them
tang's tensor IR derives high-performance GPU and CPU kernels entirely through algebraic rewrites of two constructs (affine views and monoid comprehensions), matching or beating hand-tuned libraries on some workloads while trailing on others.
- Why Writing Correct Software Is Hard
Theoretical computer science results prove that verifying software correctness is fundamentally hard, with the difficulty of analysis growing faster than any computable function.
- What is malloc doing, anyway?
A detailed walkthrough of how glibc's malloc works under the hood, building a toy allocator step-by-step to illustrate heap management, syscalls, fragmentation, and performance trade-offs.
- Do not ask “Is A a B?”: Inheritance and the Is-A Trap
Using 'is-a' to decide inheritance leads to poor design; instead, check behavioral substitution and coupling via the Liskov substitution principle.
- Arrows to Arrows, Categories to Queries :: Reasonably Polymorphic
A developer wrote catlang, a programming language that compiles to a single SQL SELECT statement, using category theory as an intermediary representation.
- Lessons from building Copilot Cowork
Microsoft's Copilot Cowork team shipped in four and a half months by using markdown specs, narrow parallel agents, automated checks, and a live Python-to-Rust runtime migration.
- The Command Line as Franken-REPL — The Autodidacts
The command line is best understood as an everything-REPL where all programs, scripts, and coreutils function as native functions in a computer-wide, scriptable environment.
- How hard is it to check for whitespace?
Unicode's evolving 25+ whitespace characters and inconsistent runtime definitions make whitespace detection surprisingly complex, leading Guava to implement a perfect hashing optimization.
- Threads, Mutexes, and Atomics: Start With What Can Go Wrong
Understanding data races, mutex implementation on Linux, and atomic pitfalls (ABA, false sharing) shows that replacing mutexes with atomics is not automatically an optimization.
- Trystan Sarrade
Swapping egui for Slint's software renderer cut a Rust process monitor's RAM from 135 MB to 30 MB by eliminating GPU driver dependencies.
- StackOverflow now gets fewer than 1000 questions a month
Stack Overflow's new questions dropped below 1,000 per month in 2024, down from a peak of over 80,000, due to AI coding assistants.
- Show HN: A proof-of-concept formalization of the IRS federal tax forms
A proof-of-concept project formalizes IRS federal tax forms using a formal specification language, enabling accurate automated computation and verification of tax rules.
- Sebastian Raschka's from-scratch video course on building reasoning models
Sebastian Raschka releases a free video course teaching how to build reasoning models from scratch, covering tokenization, attention mechanisms, and training loops.
- The most vulnerable week in internet history...
The Log4j vulnerability (Log4Shell) was a critical remote code execution flaw that exposed a significant portion of internet infrastructure in December 2021, making it the most vulnerable week in internet history.
- Parser Combinators
Parser combinators build parsers from smaller reusable components, a technique explored in a Hacker News discussion.
- Rust Style Guide
The Rust Style Guide defines standardized code formatting rules for Rust projects.
- What Is PHP? Why Are Government and Business Websites Going Offline?
A critical security flaw in PHP has caused a global rush to patch, taking many government and business websites offline.
- Software is slow because of bad design, not slow languages
Software slowness is primarily due to inefficient design rather than slow programming languages, and rewriting in faster languages like Rust or C rarely yields significant speedups for most programs.
- The Man Who Saved the Internet Yesterday
Cybersecurity researchers using an OpenAI frontier model discovered two critical PHP security vulnerabilities that could have compromised 70% of websites.
- I built a programming language that LLMs can't use
Dominik Picheta created KillSwitch, an esoteric language meant to thwart LLMs, benchmarked major models, and found even top scores don't prove true language understanding.
- Python 3.15 | Hacker News
The Hacker News post highlights community discussions surrounding Python 3.15's development progress, including anticipated performance improvements, syntax changes, and developer feedback shared in the comments section.
- A Modern Web App in C
The article demonstrates how to construct a contemporary web application using the C programming language, highlighting performance benefits and low-level control.
- GoNIX — a UNIX with a Go userspace
GoNIX is a Linux‑based UNIX‑like OS whose entire userspace—init, coreutils, networking, SSH and package manager—is written in Go, boots in ~20 ms and runs desktop or server.
- Exploring AWS Lambda Web Functions for building web applications
AWS Lambda Web Functions let you run a standard Node.js HTTP server on Lambda, handling many concurrent requests per environment with active‑CPU billing and global HTTPS endpoints.
- "No way to prevent this" say users of only language where this regularly happens - Xe Iaso
A recently disclosed CVE in curl shows a use-after-free that enables RCE, highlighting how C’s lack of memory safety leads to frequent vulnerabilities.
- The Law of Leaky Abstractions – Joel on Software
Joel Spolsky argues that every non-trivial abstraction inevitably leaks, using TCP, virtual memory, SQL, and C++ strings as examples, and warns that ignoring underlying details invites hidden complexity.
- Bun v1.4.3 | Bun Blog
Bun v1.4.3 releases with a fast built‑in TypeScript checker, 67‑89% lower idle CPU, new runtime APIs, and fixes for 166 issues across the toolchain.
- A browser-native classic Visual Basic VB6 IDE
A developer has recreated the Visual Basic 6 IDE as a browser‑based application, allowing users to write and run VB6 code without installing legacy software.
- Stack Overflow Developer Survey 2026
Only 22% of developers report being happy at work, while 62% favor AI tools and 39% use Python for AI coding.
- Async Rust: Where does the scheduler live?
Async Rust needs a runtime because concurrency requires a scheduler, and placing the scheduler in a crate like Tokio is a reasonable trade‑off rather than a regression.
- You don't need an effect system
The author argues that Haskell effect systems add no real benefit over plain IO, demonstrating that simple effect types and manual argument passing suffice for real-world code.
- The Era of Programming Languages Exploration is upon Us.
The author argues that AI‑driven coding makes traditional PL research obsolete, but urges the community to embrace exploration and fun, using LLMs to pursue novel language ideas.
- Coding is not solved
The article contends that, despite recent advancements in AI and tooling, fundamental challenges in software creation remain unresolved for developers.
- Don't couple your Go code to GitHub
The article advises Go developers to avoid hardcoding GitHub dependencies, promoting loose coupling for better portability, reduced vendor lock-in, and easier migration to alternative version control systems.
- Green Threads from Scratch - Dzania
The author builds a minimal green‑thread runtime in Rust, detailing stack allocation with guard pages, context saving via assembly, a worker‑based M:N scheduler, and spawn/join APIs.
- wolfgirl.dev - Pining for Arc Downcasting in Rust
Author shows how Pin<Arc<MustPin<T>>> lets cheap cloning and downcasting of Arc-wrapped values via a self-referential struct that preserves pointer stability.
- Superficie: Clojure you can read without learning Lisp
Superficie renders Clojure code as readable infix/block notation that roundtrips exactly, enabling non‑Lisp readers to understand kernels, proofs, and macros without altering semantics.
- Poisoning a Go Cache
The post demonstrates how manipulating Go's build cache can alter program behavior without source changes, using overlays and cache poisoning to reverse a function's output from true to false.
- Pratice methods for the piano and beyond
The post outlines piano practice techniques—repetition, note learning, rhythm, voicing, pedal, dynamics, tempo, and variations—and argues they apply broadly to skill acquisition such as programming.
- Rails World 2026 Opening Keynote [video]
The Rails World 2026 opening keynote video showcases the newest features, performance improvements, and community direction for the Ruby on Rails framework.
- Jev in 25 Lines of Python
The article shows how to implement the JeV algorithm in just 25 lines of Python, demonstrating a concise implementation that highlights core logic and omits boilerplate for quick experimentation.
- Pencils Down, Notation Up
The author argues that Rails should stay as the high‑level source of truth for AI agents, even when compiled to C or Rust, because it’s concise, intent‑preserving, and token‑efficient.
- Abstract Heresies: Not Everyone Can Code
The article argues that debugging requires counterfactual reasoning, a skill many lack, limiting their ability to diagnose bugs, especially in concurrent code, despite superficial coding ability.
- 100R — uxn
The Uxn/Varvara stack is a tiny virtual‑machine based personal computing platform that lets the same ROM run across desktop, handheld, console, and browser environments.
- Basic Linear Algebra Subprograms - Wikipedia
BLAS defines standard low-level linear algebra routines used as the foundation for optimized numerical libraries like LAPACK and MATLAB.
- GitHub - sql-formatter-org/sql-formatter: A whitespace formatter for different query languages
SQL Formatter is a JavaScript library for pretty-printing SQL queries, supporting over 15 dialects, with CLI and library usage, and extensive configuration options.
- Cheaper LLM labelling
Describes a Perl script that uses a cheap LLM to label git commits, then speeds it up with a streaming logistic‑regression classifier and label caching.
- Evolving programming languages in the AI era - Dashbit Blog
Programming languages will shift focus from human ergonomics to stronger guarantees and agent‑friendly tooling as AI writes most code in practice.
- FUN: First-Class Functions, Currying, and a Surprise
Adding first-class functions to a LET interpreter with call-by-value leads to dynamic scoping, mirroring a historical Lisp bug discovered by Slagle.
- What Does This Assembly Code Do? – pagetable.com
The article presents an assembly language snippet and asks readers to identify its function and the computer architecture it belongs to.
- A build graph that rolls dice
The article explains how Nix’s dynamic derivations turn its build system from applicative to monadic, allowing the build graph to be defined during execution rather than up front.
- Nvidia announces native GPU programming in Rust
Nvidia announces native GPU programming support for the Rust language, enabling developers to write high-performance GPU code directly in Rust for AI, HPC, and graphics applications without intermediary layers.
- Small programming tricks
The article shares a handful of concise programming tips and shortcuts commonly discussed on Hacker News, highlighting practical tricks for everyday coding.
- Bend – a language that blocks AI mistakes via proof and runs on GPUs
Bend is a new programming language that uses formal proof techniques to prevent AI mistakes and is designed to run efficiently on GPU hardware.
- Java 27 | Hacker News
Java 27's release announcement highlights new language features including virtual threads and pattern matching, positioning the update as a significant step forward for developer productivity.
- Computer programming, and friction as a learning activity
The author argues that personal friction in manual coding and teaching is essential for deep learning and enjoyment, and worries AI‑generated code removes that valuable struggle.
- FP Jargon — Interactive Functional Programming Knowledge Graph
An interactive knowledge graph visually maps 69 functional programming concepts, category theory morphisms, and algebraic structures using JavaScript ES2015 examples.
- Basic Syntax | Markdown Guide
The guide details core Markdown syntax including headings, paragraphs, emphasis, lists, code, links, images, and HTML usage with compatibility tips.
- The Cretan Method - Hintjens.com
The Cretan Method treats theories as falsifiable models, uses friction as data to refine or discard them, and advocates a learn‑play‑work‑teach cycle to escape magical thinking.
- Elm, Rust, and WebGL in one interface – yoggimix
The author combines Elm, Rust, and WebGL via the elm_rs bridge to render 3D graphics in a canvas while using Elm for UI controls, demonstrating type‑safe interop.
- Introduction - Hegel's Logic in Cubical Agda
This introduction outlines a Cubical Agda tutorial that formalizes fragments of Hegel’s Science of Logic, detailing navigation, reading tracks, and verification sections.
- 10 anti-AI slop moves for frontend projects going faster than humans can review—Martian Chronicles, Evil Martians’ team blog
Ten defensive practices—contract generation, strict TypeScript, behavior‑filter linting, layer boundaries, custom linter rules, mutation testing, dead‑code detection, duplicate detection, and CI enforcement—make AI‑generated frontend code safer and cheaper to review.
- Bitap: My favorite string matching algorithm
The author explains why the Bitap algorithm is their favorite string‑matching method, highlighting its simplicity, efficiency, and suitability for fuzzy search.
- Allocator Designs
The post details how to build three heap allocators in Rust—bump, linked-list, and fixed-size block—showing code, alignment handling, and trade‑offs for kernel memory management.
- A 50-year-old computer-assisted proof
The 1976 computer-assisted proof of the four‑color theorem by Appel and Haken, later formalized in Coq, marks the first major theorem proven with computer help.
- Eliminating Go bounds checks with unsafe
The article shows how using Go's unsafe package to perform pointer arithmetic can eliminate bounds checks in hot paths, yielding over 2x speedup in benchmarks.
- simple is not small
Simplicity means decoupling concerns, not just minimizing code size, as shown by Unix pipelines being small yet coupled in practice.
- A meta-analysis of three different notions of software complexity
A meta-analysis argues that Zach Tellman's definition of software complexity as the sum of future explanations is the most useful and practical among three discussed.
- smolts: a pedagogical IDE for a teaching language (eighty-twenty news)
The author introduces smolts, a browser‑based IDE for the teaching language SMoL that visualizes continuations, environments, and stores while allowing step‑forward/backward execution and in‑browser git project management.
- Interview With Bakpakin
In the interview, Bakpakin explains Janet’s design goals, community values, and his reluctance to build a package manager, emphasizing stability, user empathy, and incremental improvement.
- Bug Blindness | Hacker News
Developers often fail to notice bugs in their own code due to cognitive biases and familiarity, leading to blind spots that external reviewers or structured testing can reveal.
- Tcl for Web Nerds
The document outlines the table of contents for 'Tcl for Web Nerds,' a guide teaching Tcl scripting for web development by Abelson, Greenspun, and Sandon.
- Why Does Rust Need Send and Sync?
Send and Sync are Rust marker traits that guarantee safe thread transfer of values and shared references, exemplified by Rc being neither due to its non‑atomic reference count.
- Bun · Node.js test suite tracker
Bun’s Node.js test suite tracker displays how many of Node.js v26.3.0’s 4,608 tests pass in Bun, currently showing a loading state.
- Python sets and dictionaries can have quadratic-time performance
Python's built‑in set and dict types can exhibit quadratic‑time behavior when many elements hash to the same bucket, causing worst‑case O(n²) performance.
- CTTI is Exponential, RTTI is Linear - gingerBill
CTTI causes exponential compile‑time and binary costs, while RTTI incurs only linear memory overhead, making RTTI a safer default for language design.
- A Type System Is a Search Oracle
Stronger type systems like Rust and Lean improve AI-generated code quality by providing a verifiable compiler feedback loop that catches errors.
- Fast unicode (UTF-8) validation with autovectorization
A branchless, autovectorized UTF-8 validation algorithm using a 4-byte lookbehind window achieves 10-80 GB/s, far outperforming branchy and DFA validators.
Takes
Le créateur de Node Js 😳
@misteraliouba
https://x.com/sindresorhus/status/2108672491694825533 I wrote a blog post about the new website. Why Swift and how it works. https://sindresorhus.com/blog/swift-website
@sindresorhus
Just shipped a redesign of my website: https://sindresorhus.com/apps It's now fully in Swift and compiled to HTML/CSS.
@sindresorhus
I¹ ported my Mini web browser to Rust & Swift. It's faster, more secure, and shockingly, nicer to iterate on than Electron + Bun. I always wanted Safari-like UX but… Chrome 😁. Thanks to the 𝚌𝚎𝚏 crate, I can bundle up-to-date Chromium. 𝚏𝚡 𝚊𝚌𝚙 lets me embed an agent without bloating the app. It talks to my local fx CLI over ACP. fx can then manage the browser via an MCP server². By ditching Electron, I was able to get Liquid Glass, faster boots, and a more Mac-native feeling. Little things like fine-grained focus and input control, which are nightmare fuel in JS, just work®. Native is the future, both on the desktop and in the cloud. I suspect the entire software world will "nativify" faster than people realize, as DHH hinted at Rails World. Excited that Vercel's bet on Fluid will help support this, whether you choose to go Rust, Go, Zig, scriptc… ¹ Built on
@rauchg
but seriously. it's fantastic. and at the current pace, i'll be able to drop from four 20x max subs down to one. 🥳 until fable 5.5 drops in a few weeks and then i end up needing 12 20x max subs. 😭
@Shpigford
I thought my RailsConf Europe 2006 appearance had been lost to the ages, but Till Volmer lovingly restored it, and gave it a permanent home. It's amazing how much stays the same even as everything is changing! https://dhh-railsconf-2006.meister.co/
@dhh
Yeah Fable 5.1 is really cool but this is bonkers
@petergyang