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.
Brunost is a niche, functional esoteric programming language written in Zig that forces developers to use Nynorsk for all identifiers and keywords.
Designed for fun rather than production, it emphasizes readable, plain-language syntax while strictly enforcing valid Nynorsk terminology through a built-in dictionary interpreter.
OCaml 5.5.0 has been released, introducing module-dependent functions, relocatable compiler installations, and improved support for polymorphic function arguments.
It also adds advanced string search features, generalized local definitions, external FFI types, and significant garbage collector enhancements. This release includes numerous library updates, bug fixes, and performance improvements for a more efficient and flexible development experience.
Slap is a high-performance, concatenative programming language combining the brevity of APL with the safety of Rust-like linear types.
It enables manual memory management without a garbage collector. Featuring a small, simple specification and robust stack effects, Slap ensures memory safety, preventing common issues like use-after-free and double-free while maintaining efficient execution.
The Nanopass Framework is an embedded domain-specific language designed to streamline compiler construction.
By utilizing numerous small passes and multiple intermediate representations, it minimizes boilerplate code, significantly enhancing the readability, maintainability, and development efficiency of complex compiler projects.
ArchLang treats floor plans as code: 64 lines compile into a precise, dimensioned plan exported as SVG, DXF, or PDF.
Its compiler validates the design, supports intent and brief-based scoring, and provides description, takeoff, and lint checks. The example “Laneway House” contains three rooms, with the rendered plan labeling 48.75 m² total area, four doors, and four windows; the source summary reports 45.05 m² net.
revo is a dynamic programming language designed for enjoyable, procedural-looking code built from expressions.
It emphasizes top-to-bottom pipes, explicit errors-as-values, atoms, pattern matching, fibers for non-blocking execution, universal tables, optional inferred typing, compile-time execution, procedural macros, and first-class tests. It includes LSP and tree-sitter tooling, compiles with Zig, supports embedding, and is MIT-licensed.
The author reflects on transitioning from Zig to Rust and back to Zig.
While Rust offers stability and memory safety, concerns over its corporate-influenced governance and controversial policies regarding LLMs drove the author toward Zig’s philosophy of simplicity, performance, and craftsmanship, even acknowledging Zig's ongoing instability and manual memory management.
This article humorously explores the relatable experiences of TypeScript developers, from the struggles of converting JavaScript projects to the intricacies of complex generics and the 'any' type.
It highlights the bittersweet relationship developers have with TypeScript, acknowledging its role in preventing bugs despite the frustrations of strict type errors.
The article explores the seemingly illogical behavior of JavaScript where the value NaN (Not a Number) is not equal to itself.
While this behavior often confuses developers, it is actually a logical implementation of the IEEE-754 floating-point standard. The author explains that NaN represents an undefined or unknown result rather than a specific value; therefore, two unknown results cannot be assumed to be identical. This comparison behavior is consistent across other major programming languages like Java, Python, Rust, and C++. The text provides practical advice on using Number.isNaN() for reliable checks and introduces Object.is() for cases where a more precise comparison is required, ultimately arguing that this design choice prevents invalid computations from causing silent errors in code.
Go 1.26 introduces a significant array of improvements and features slated for release in February.
Key highlights include the expansion of the 'new' built-in to support expressions, enabling more concise pointer initialization, and the introduction of 'errors.AsType' for type-safe error handling. Performance gains are central to this release, featuring the 'Green Tea' garbage collector focused on memory-aware scanning, optimized memory allocation for small objects, and faster cgo/syscall execution. Developer productivity is enhanced via the 'slog.MultiHandler' for multi-destination logging, a new 'goroutineleak' profile for detecting leaks in production, and an 'ArtifactDir' method for managing test-generated files. Additionally, experimental support for vectorized operations (SIMD) and a 'secret' package for cryptographic forward secrecy are included, alongside a modernized 'go fix' tool for automated code updates.
Janet on x32: 32-bit Pointers, 64-bit Speed, 25% Less RAM
Linux · Low-Level Programming · Performance · Programming Languages
Compiling Janet with Linux’s x32 ABI reduced memory use by 21% overall (8–32%) while maintaining comparable speed, unlike conventional 32-bit `-m32`, which was about 50% slower.
Using 64-bit instructions with 32-bit pointers, `-mx32` lowered memory in benchmarks by up to roughly 25% and sometimes improved performance, though results varied. The experiment required kernel and compiler support, source changes, disabled FFI, and compiling libraries manually because major Linux distributions largely omit x32 support.
Common Lisp is presented as the best language for LLM-assisted programming because its image-based runtime enables near-immediate code updates and debugger-based recovery without restarts.
Its homoiconic list syntax and macros let developers create domain-specific languages, producing shorter programs with fewer tokens and potentially better LLM context. The argument also cites Common Lisp’s stability, reduced dependency exposure, and suitability for customizable products, while acknowledging its smaller library ecosystem and talent pool.
This technical project chronicles the process of developing a custom SCSI driver for the Epson FilmScan 200 on a classic Mac SE/30 running System 7.
Facing limitations with modern compatibility, the author reverse-engineered the ESC/I protocol and utilized technical service manuals and disassembled 68k code to achieve functionality. Key challenges addressed included SCSI Manager API interactions, figuring out the specific [frame, frame] byte format for frame selection, and handling interleaved G-R-B color data blocks. The final 450-line C application, built using THINK C, successfully digitizes 35mm film at 1200 DPI, integrating vintage hardware into a modern archival workflow via FTP.
The article argues that Lisp feels less readable mainly because prefix notation separates matching parentheses, provides weak visual grouping, increases left-nested structures, and often misaligns reading with evaluation order.
Drawing on Gestalt perception and working-memory limits, it recommends placing related delimiters closer, using code shape to signal grouping, exploiting associativity, and aligning syntax with execution flow.
Rust Security Response Team confirmed a supply-chain attack involving malicious crates whose build scripts downloaded payloads.
Deleted crates included proc-macro1 and related packages. Compromised releases of arrayref, internment, and append-only-vec were also removed, while the author’s account was locked. Developers should inspect ~/.cargo/registry/cache for affected versions and assess potential exposure.
The author argues that there are only two families of proper arbitrary markup languages: TeX and SGML.
The distinction is based on the ability to handle user-definable nodes, attributes, and text wrapping without intrinsic semantic meaning, which excludes formats like Markdown or JSON. The piece further explores how these concepts influenced the design of the Odin programming language and critiques the use of XML and YAML for configuration.
The dissertation 'Deconstructing Datalog' explores integrating Datalog’s recursive query features into typed functional programming.
By redefining recursion as a least prefix point operator and using type systems to track monotonicity, the author introduces Datafun. The work also details optimizing these queries using seminaïve evaluation, providing a theoretical foundation for combining logic and functional programming paradigms.
Undefined behavior (UB) in C/C++ is not predictably limited to a segfault or the apparent source-code effect.
With GCC and clang, the same UB involving `std::unreachable()` can cause execution to fall through into an uncalled `explode()` function; replacing it with a null-pointer write can emit a zero write to address zero followed by `ud2`; adding 10 to the null pointer can emit a write of 99 to address 40. Compilers are not required to detect UB, so its consequences can be anything.
Soppo is a programming language designed as a Go-compatible enhancement, focusing on type safety and ergonomics.
It introduces features like tagged unions, pattern matching, an error propagation operator, and compile-time nilability tracking. It features full Go library interoperability, allowing developers to integrate it gradually into existing Go projects while maintaining familiar syntax.
Zig 0.16.0 introduces 'I/O as an Interface', enabling flexible and async-capable I/O operations.
Significant updates include reworked type resolution, a simplified compiler build process, and enhanced cross-compilation support for various architectures. The release also improves incremental compilation, brings new testing capabilities with a reworked fuzzer interface, and updates core dependencies like LLVM 21.1.8.