Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
Before C++26, a side-effect-free `while (true);` had undefined behaviour because it violated C++’s forward-progress guarantee, allowing compilers to remove it.
This endangered embedded halt-on-error handlers. P2809R3 makes narrowly defined trivial infinite loops well-defined by assigning them `std::this_thread::yield()` semantics, though freestanding implementations may opt out.
This guide highlights common pitfalls in Prolog programming, such as using impure constructs, global state, and low-level arithmetic.
It advocates for a declarative approach by utilizing pure monotonic subsets and constraints, ensuring programs remain general, readable, and testable. By abandoning outdated practices, developers can create logic programs that effectively handle most general queries.
The Art of Computer Programming by Donald E.
Knuth is a foundational series in computer science. These critically acclaimed books are available in authorized PDF formats, with the author warning against inferior e-reader alternatives. Readers can track errata, report errors for rewards, and access comprehensive translations and ongoing updates for new volumes like 4C.
This innovative education program teaches programming principles without computers.
Using unique animated characters, it provides a lucid introduction to five core processes: analysis, combination, generalization, abstraction, and simulation, making learning fun and accessible.
The author revisits ten memorable code snippets spanning Hello World, JavaScript quirks, self-modifying 6502 assembly, Windows batch scripting, CSS debugging and art, game cheats, Linux pranks, and crude account scanning.
Together, they capture formative lessons about computer control, low-level power, programming humor, experimentation, security risks, and the lasting emotional impact of code.
XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?
Low-Level Programming · Programming Languages · Computer Science
Matt Godbolt and others discuss why xor eax, eax is preferred over sub eax, eax to zero out registers in x86 architecture.
While both are functionally equivalent and compact, xor became the industry standard. Modern CPUs now optimize both instructions via the front-end, making them effectively zero-cycle operations, but xor maintains dominance due to legacy adoption and developer convention.
Glojure is a hosted Clojure interpreter written in Go, allowing seamless interoperability between Clojure and Go values.
It serves as a command-line tool for scripting and can be embedded within Go applications. Still in early development, it offers a REPL, support for Go standard libraries, and powerful tools for mixing Go performance with Clojure's expressive syntax.
C++26 Shipped a SIMD Library Nobody Asked For
Artificial Intelligence · Performance · Programming Languages
C++26 introduces std::simd, a library-based portable SIMD abstraction.
However, it suffers from poor compile times, suboptimal performance, and an inability to express critical cross-lane SIMD operations. Existing tools like Google Highway or native auto-vectorization offer better performance and portability, rendering std::simd largely redundant for production-grade, performance-critical applications.
TruffleRuby is a high-performance Ruby implementation built on the JVM using the Graal dynamic compiler and Truffle AST interpreter framework.
Developed since 2013, it is now part of GraalVM and has received support from Shopify. The project emphasizes advanced JIT optimization techniques for dynamic languages, facilitating cross-language interoperability and efficient execution of Ruby C extensions.
Ape coding describes the human practice of manually writing source code, a concept that emerged following the dominance of agentic coding by AI.
Originally a derogatory term, it evolved into a recreational and educational movement. Today, enthusiasts collaborate on complex projects like human-written compilers, prioritizing craftsmanship, deep understanding, and the historical preservation of software engineering.
Build from scratch is an educational platform offering over 80 hands-on courses where users learn programming by building real systems like Redis, Git, or databases.
The platform supports multiple languages and career tracks, focusing on overcoming the 'tutorial hell' by requiring users to solve problems through active development.
Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp
Programming Languages · Software Architecture · Computer Science
This reference sheet provides a side-by-side comparison of Common Lisp, Racket, Clojure, and Emacs Lisp.
It covers essential syntax, grammar, variables, arithmetic, strings, regular expressions, data structures like lists and dictionaries, execution control, exceptions, I/O streams, and interoperability features.
Textadept is a minimalist, cross-platform text editor for programmers, emphasizing extensibility via Lua.
It supports Windows, macOS, and Linux with both GUI and terminal versions. Released under the MIT License, it features a comprehensive API, support for extra modules like LSP, and the ability to be compiled from source for various UI libraries.
Relax is a Rust-based live compiler and JIT runtime that runs Cargo packages directly from source while building them, without rustc, LLVM, or a linker.
It compiles functions on first use, optimizes hot functions during execution, and patches edits into the running process, reducing build-related waiting. The project presents tradeoffs against rustc, reports real-workload comparisons, explains where LLVM still wins, and highlights use with Makepad and AI-agent development loops.
This repository contains assignments for Stanford University’s CS146S: The Modern Software Developer course, taught in fall 2025.
Setup requires Anaconda with Python 3.12, a Conda environment, Poetry installation, and project dependency installation from the repository root using `poetry install --no-interaction`.
An experimental miniflags format encodes recognizable country flags as compact variable-length bitstreams.
It uses Huffman trees for common aspect ratios, colors, palette sizes, and layer properties, then renders decoded data as SVG. Average definitions use 76 bits (12 Base94 characters); 128 flags work, while 67 fail due mainly to coats of arms, glyphs, text, and unsupported geometry.
Rust offers immense potential for GUI development, balancing low-level performance with high-level abstractions.
While challenges regarding framework maturity and platform consistency persist, the ecosystem is rapidly evolving. Current solutions range from wrappers for established engines like Qt, Electron, or Tauri to native, high-performance Rust frameworks like Slint, Iced, Dioxus, and GPUI, catering to diverse development needs.
Solod (So) is a strict subset of Go that compiles to standard C, offering systems-level control with stack-allocated memory.
It supports core Go features like structs, interfaces, and methods while remaining familiar to Go and C developers. Currently in active development, version 0.2 introduces networking and WebAssembly support, with more concurrency features planned.
Rubish is a shell built in pure Ruby that is fully compatible with bash.
It integrates Ruby features directly into the shell, allowing users to mix shell commands with Ruby code using syntax like blocks, iterators, and method calls. It supports zsh-like features, provides a public API for programmatic access, and allows for efficient startup via lazy loading.
Sky is an experimental, self-hosted programming language compiling to Go.
It blends Go's pragmatism, such as fast compilation and single binary deployment, with Elm's functional elegance, Hindley-Milner type safety, and server-driven UI via its Phoenix LiveView-inspired Sky.Live framework. It aims to eliminate fullstack friction by unifying codebase, types, and deployment artifact.