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

Gzip decompression in 250 lines of Rust

iev.ee · 24 Mar

Algorithms · Programming Languages · Rust

The author implemented a gzip decompressor in just 250 lines of Rust to demystify how compression works.

By focusing on the core DEFLATE algorithm, Huffman coding, and LZ77 back-references, the project avoids the bloat of standard libraries like zlib, providing a readable, educational, and functional implementation that successfully decompresses gzip files.

How to choose between Hindley-Milner and bidirectional typing

thunderseethe.dev · 15 Feb

Algorithms · Programming Languages · Computer Science

The article explores the false dichotomy between Hindley-Milner and bidirectional type systems in language design.

It argues that bidirectional typing is a superset of Hindley-Milner and that the critical decision is whether a language requires generics. While generics necessitate unification, bidirectional systems offer a flexible framework that can be implemented with or without complex unification processes.

One year of Roto, a compiled scripting language for Rust

blog.nlnetlabs.nl · 28 May

Programming Languages · Rust · Open Source

Roto, a JIT-compiled scripting language for Rust, marks its first anniversary with significant growth.

Key updates include syntax improvements, enhanced Rust integration via the library! macro, and new features like lists and loops. Adopted by the Iocaine project for its performance, Roto continues to evolve toward better tooling and expanded language capabilities.

New features in GCC 16: Improved error messages and SARIF output

developers.redhat.com · 19 May

C++ · Programming Languages · Testing

GCC 16 introduces several enhancements, notably a new hierarchical error message format for improved C++ readability and updated SARIF output for better machine parsing.

The release also adds an experimental HTML diagnostic mode for path visualization and significantly refactors the static analyzer to support C++ features like exception handling and improved diagnostic accuracy.

The need for a formally verifiable mainstream programming language

blainehansen.me · 27 Nov

Programming Languages

Formal verification must become mainstream to counter declining software quality accelerated by LLMs, but adoption requires tools usable by ordinary engineers who can understand what is being proven.

Magmide is proposed as a pragmatic, WebAssembly-targeting language with a Rust-inspired type system, SMT-powered Liquid Types, and Flow Effects, later integrating Lean and separation logic. Its bottom-up design aims to make progressively stronger verification accessible across application environments rather than relying on automation or specialist researchers alone.

Reducing undefined behavior in the C language

lwn.net · 9 Oct

C · Low-Level Programming · Programming Languages

At Kernel Recipes, Martin Uecker argued that C can substantially reduce undefined behavior and improve memory safety, though full safety remains difficult.

The C standard has about 100 undefined-behavior cases, while the C2y draft removes 45. Warnings, static analyzers, sanitizers, annotations, architectures such as CHERI, and formal verification can improve type, spatial, and temporal safety. C23 already removed problematic legacy features; C2y will add further “demon removal,” but restricted languages and verification remain necessary for the strongest guarantees.

PageRank explained

praveshkoirala.com · 26 Aug

Algorithms · Programming Languages · Computer Science

The article explains PageRank, the algorithm developed by Sergey Brin and Larry Page that helped Google outperform content-based search engines.

It models page reputation as rank passed through links, adds a damping factor for random jumps, and iteratively updates scores until convergence. A concise Python implementation demonstrates the core computation, while noting dangling-node simplifications.

Show HN: A Project Oberon System version running on RISC-V instead of RISC-5

github.com · 9 Aug

C · Programming Languages · Software Architecture

This project migrates the Project Oberon system from RISC-5 to a RISC-V architecture.

By utilizing the OP2 compiler and adapting Oberon-07 code to Oberon 90, the developer successfully runs the system on an emulated RV32 machine, preserving Niklaus Wirth's original design principles while enabling execution on contemporary, widely available hardware platforms.

The Underhanded C Contest

underhanded-c.org · 1 Jul

Cybersecurity · C · Programming Languages

The 2015 Underhanded C Contest challenged participants to write secure code for nuclear verification, focusing on subtle, realistic vulnerabilities.

The winner, Linus Åkesson, utilized a clever float-to-double type confusion exploit. The contest highlighted how memory-unsafe languages like C require extreme rigor to prevent data-triggered and environment-triggered attacks that bypass security checks.

C array types are weird

anselmschueler.com · 25 May

C · Programming Languages · Computer Science

This article explores the confusing nature of arrays in C, specifically how they decay into pointers.

The author proposes a redesign where arrays behave like structs to improve clarity and safety. The piece also discusses GDB's '@' operator as a potential mechanism for converting pointers to arrays and highlights the benefits of wide pointers.

AI errno(2) values

netmeister.org · 19 May

Artificial Intelligence · Large Language Models · Programming Languages

New standard system headers introduce specific errno values for common AI-related failures, cataloging errors like hallucinations, unjustified confidence, and ethical subroutine absences.

This initiative formalizes troubleshooting for modern AI development by defining a comprehensive error space for anomalous behavior in large language models and autonomous systems.

Futhark by example

futhark-lang.org · 16 May

Performance · Programming Languages · Computer Science

Futhark by Example provides a comprehensive, hands-on introduction to the Futhark programming language.

Through a curated collection of documented programs, it covers fundamental language features, advanced parallel programming techniques, automatic differentiation, and integration with other tools, demonstrated via practical projects like ray tracers, simulators, and hash function implementations.

Forking the Web

dillo-browser.org · 6 May

Programming Languages · Open Source · Computer Science

This document explores developing an alternative to the Web by creating a simple, versioned, and strictly grammatic specification.

It prioritizes semantic text over heavy scripting, aiming to reduce complexity, prevent standard capture by monopolistic entities, and enable diverse, low-effort browser implementations for information exchange.

A whole boss fight in 256 bytes

hellmood.111mb.de · 5 Apr

Low-Level Programming · Programming Languages · Computer Science

Endbot is a 256-byte audiovisual demo for DOS, presented at Revision 2026.

It utilizes FASM to create a real-time rendered robot sprite with damage effects, a scrolling checkerboard landscape, and MIDI audio. This compact masterpiece achieves complex graphics and sound using clever assembly hacks like the Rrrola trick and shared data buffers to fit within strict memory limits.

Dr. Dobb's Developer Library DVD 6

archive.org · 5 Apr

C · Programming Languages · Computer Science

The DDJ Developer Library DVD-ROM provides an extensive archive of programming articles, source code, and auxiliary files from Dr.

Dobb's Journal, C/C++ Users Journal, SysAdmin, and The Perl Journal, spanning 1988 to 2008. The collection is accessible via standard web browsers on any platform supporting ISO 9660-format DVD-ROMs.

In math, rigor is vital, but are digitized proofs taking it too far?

quantamagazine.org · 25 Mar

Artificial Intelligence · Programming Languages · Philosophy

Mathematicians are increasingly using 'Lean', a computer language designed to formalize and verify proofs.

While proponents view this as a transformative step toward absolute mathematical certainty and modular efficiency, critics worry that prioritize proof-formalization might stifle creativity, reduce cultural diversity in mathematics, and dangerously homogenize the field, similar to the historical influence of the Bourbaki group.

Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

github.com · 21 Feb

C++ · Programming Languages · Open Source

This single-header C++ library provides high-quality, immediate-mode 2D vector graphics rasterization based on the HTML5 2D canvas specification.

It emphasizes rendering quality, ease of use, and a compact footprint over raw speed. Supporting features like gamma-correct blending and bicubic resampling, it remains highly portable with no dependencies beyond the standard C++ library.

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