Topic

Programming Languages

Explore programming language discussions covering language design, compilers, paradigms, and developer communities. Our digest synthesizes language evolution, new language features, and compiler trends from Hacker News and Lobsters.

What this topic tracks

  • Engineering practices and ecosystem debates
  • Tools, architecture, and implementation lessons
  • Relevant discussions from developer communities

Programming Languages · 865 stories

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.

20 stories

Surelock: Deadlock-Free Mutexes for Rust

notes.brooklynzelenka.com · 7 Apr

Performance · Programming Languages · Rust

Surelock is a new Rust library designed to prevent deadlocks at compile time.

By utilizing a linear type-based key system and enforcing strict lock ordering rules, it eliminates circular wait conditions. It supports both standard and no_std environments, providing an ergonomic, safe alternative to traditional mutexes without requiring complex runtime analysis.

16 Modern JavaScript Features That Might Blow Your Mind

dev.to · 25 Feb

JavaScript · Programming Languages · Software Architecture

This guide explores modern ECMAScript features from ES2022 to ES2025, highlighting practical improvements like top-level await, private class fields, and immutability upgrades.

It covers new array methods, Object.groupBy, and Promise.withResolvers, showcasing JavaScript's evolution toward cleaner syntax, safer asynchronous handling, and functional data processing patterns for more predictable and readable codebases.

We have proof automation now

imperialviolet.org · 26 Jul

Artificial Intelligence · Large Language Models · Programming Languages

Lean and other dependently-typed languages offer powerful verification, but traditionally suffered from high proof effort.

Emerging LLM-based proof automation now significantly reduces this obstacle, making formal verification more practical for everyday software engineering. By implementing a Zstandard decompressor in Lean, the author demonstrates how LLMs can automate complex proofs for non-trivial algorithms.

A new C++ back end for ocamlc

github.com · 2 Apr

C++ · Programming Languages · Software Architecture

A new ocamlc patch enables compiling OCaml code into C++ templates, creating a purely functional execution environment.

This unconventional approach leverages C++ template metaprogramming for computation, highlighting challenges with memory usage and performance, while exploring the potential for cross-language compatibility through template structures.

Racket v9.2

blog.racket-lang.org · 27 May

Programming Languages · News · Open Source

Racket v9.2 has been released, featuring updates to the match form, Typed Racket type handling, and Unicode 17.0 support.

This version introduces the #%foreign-inline form, improved terminal byte tracking, and performance-focused code rewrites for core syntax. Several internal refinements, documentation updates, and bug fixes are included, potentially affecting existing codebases.

VisiCalc Reconstructed

zserge.com · 15 Mar

C · Programming Languages · Software Architecture

This article explores the fundamental architecture of VisiCalc, the first spreadsheet software, and demonstrates how to build a minimal clone in C.

Key concepts include a grid data model, a recursive descent parser for formula evaluation, a simple recalculation engine for reactive updates, and a curses-based TUI.

Notes on Writing WASM

notes.brooklynzelenka.com · 8 Mar

JavaScript · Programming Languages · Rust

A developer shares practical patterns for working with Rust and wasm-bindgen.

Key recommendations include passing data by reference, using interior mutability (Rc<RefCell<T>>/Arc<Mutex<T>>) to avoid exclusivity errors, and adopting strict naming conventions (prefixed with Wasm* or Js*). The post also introduces wasm_refgen for handling collections and better JS error integration.

Visualizing Rust's Vtables: How dyn Trait Works In Memory

sofiabelen.github.io · 4 Sept

Low-Level Programming · Performance · Programming Languages

Rust’s polymorphism differs fundamentally from C++: monomorphization provides zero-cost static dispatch, while dyn Trait uses wide pointers pairing data with external vtables for runtime dispatch and heterogeneous collections.

Rust’s ownership enables zero-sized types, and object-safety rules restrict trait objects. Dispatch is chosen at the call site, not embedded in the type.

Teaching my kid to code with a modern MUD

tau.dev · 12 Aug

Artificial Intelligence · Programming Languages · Education

Canon is a web-based, multiplayer MUD where players create, inspect, clone, and modify text-and-image worlds using Cant, a deliberately limited scripting language.

Designed as an accessible bridge from GUI editing to code, it teaches programming through experimentation, state, dialogue, and consensual game mechanics. An optional daily LLM-generated item sparks debate about AI’s role in creativity and learning.

An agent in 100 lines of Lisp

thebeach.dev · 7 Jul

Large Language Models · Programming Languages · AI Agents

A developer discusses building AI agents using Lisp, highlighting its homoiconic nature where code is data.

By providing an 'eval' tool, the agent dynamically creates and executes its own functions, such as web searching. This approach treats agent capabilities as persistent memories within the conversation history, simulating internal growth and self-improvement through recursive loops rather than static tool catalogs.

//go:fix inline and the source-level inliner

go.dev · 10 Mar

Go · Programming Languages · Software Architecture

Go 1.26 introduces a source-level inliner via the go fix command and //go:fix inline directive.

This 'self-service' tool automates API migrations by replacing function calls with their bodies. It handles complex edge cases like parameter elimination, side effects, shadowing, and constant expression safety to ensure code transformations remain behaviorally correct and tidy.

Crafting Interpreters

craftinginterpreters.com · 1 Jan

Programming Languages · Education · Computer Science

Crafting Interpreters is a comprehensive guide designed for developers who want to master the art of building a custom programming language from scratch.

The book covers essential topics including parsing, semantics, bytecode representation, and garbage collection. By following the text, readers build a fully functional scripting language that supports dynamic typing, lexical scope, first-class functions, and object-oriented features like classes and inheritance. The curriculum ensures developers understand every line of code, moving from high-level architectural concepts to low-level implementation details in a structured, hands-on manner. It is available in various formats, including print and a free web version.

Zig: All Package Management Functionality Moved from Compiler to Build System

ziglang.org · 4 Jul

Performance · Programming Languages · Open Source

The Zig development log for early 2026 highlights a major overhaul of the build system, including separating the 'maker' process for improved performance and modularity.

Key updates include SPIR-V backend progress, new @bitCast semantics, faster incremental compilation, and a significant effort to replace vendored C code with Zig-native standard library implementations.

Rust changed me as a developer

blog.startifact.com · 16 Nov

Programming Languages · Rust

Rust changed the author's development approach by making enums, static dispatch, type-driven design, ownership, arenas, and explicit performance tradeoffs central tools.

Sum types simplify modeling variants, errors, and optionality; compile-time generics avoid unnecessary runtime dispatch; types shape architecture; macros provide compile-time serialization and CLI generation. Ownership encourages less-coupled designs, while arenas handle shared or circular structures efficiently. Rust's performance also expands what software can do, enabling memory-efficient designs such as Colchis's large in-memory JSON storage.

The Holy Grail of Linux Binary Compatibility: Musl and Dlopen

github.com · 26 Jan

Linux · Programming Languages · Software Architecture

This content explores the complex challenges of achieving Linux Binary Compatibility, particularly when developing graphical applications using Go and Godot.

While distributing CLI tools is relatively straightforward, hardware-accelerated graphics require interacting with vendor-specific dynamic libraries through the C ABI. The primary obstacle arises from the dependency on specific versions of libc, such as glibc. When a binary is built on a modern system, it often fails on older distributions or those using musl, like Alpine Linux. The author discusses using musl paired with dlopen and dlsym to dynamically load graphics drivers at runtime. This approach aims to create portable binaries that function across diverse Linux environments without being strictly bound to a single libc implementation, though implementation issues like SIGSEGV remain a hurdle.

Where it came fromHacker NewsLobstersDev.toCreate a Snapbyte.dev digest and choose Programming Languages as one of your topics.Build your digest