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

Brunost: The Nynorsk Programming Language

lindbakk.com · 14 Apr

C · Programming Languages

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 released

discuss.ocaml.org · 19 Jun

Performance · Programming Languages · Software Architecture

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: Functional Concatenative Language... with a Borrow Checker?

taylor.town · 3 Apr

Low-Level Programming · Performance · Programming Languages

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.

Show HN: ArchLang – floor plans as code, compiled to SVG/DXF/PDF

playground.archlang.uk · 30 Nov

Programming Languages

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 Programming language

revo.lung.fyi · 3 Sept

Programming Languages · Testing · Open Source

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.

Returning to Zig

gracefulliberty.com · 4 Jul

Career · Programming Languages · Rust

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.

Why NaN !== NaN Makes Perfect Sense (I Promise)

dev.to · 25 Jan

JavaScript · Programming Languages · Computer Science

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 interactive tour

antonz.org · 5 Jan

Go · Programming Languages · News

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

alexalejandre.com · 6 Oct

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.

Why Common Lisp is now the best programming language

vivienhenz.com · 1 Oct

Programming Languages

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.

Reverse Engineering the Epson FilmScan 200 for Classic Mac

ronangaillard.github.io · 30 Dec

C · Hardware · Programming Languages

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.

What makes Lisp difficult to read?

paultm.nl · 28 Sept

Programming Languages · UX · Computer Science

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.

Supply chain attack on arrayref

blog.rust-lang.org · 20 Aug

Cybersecurity · Programming Languages · Open Source

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 Only Two Markup Languages

gingerbill.org · 19 Jan

Programming Languages · Software Architecture · Computer Science

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.

Deconstructing Datalog

rntz.net · 14 Jun

Algorithms · Programming Languages · Computer Science

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.

Attention people who think UB is fine

blog.habets.se · 22 Oct

C · Low-Level Programming · Programming Languages

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 - Go, with the features it's missing

soppolang.dev · 4 Aug

Go · Programming Languages · Software Architecture

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 Release Notes

ziglang.org · 10 Apr

Performance · Programming Languages · Open Source

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.

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