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

FPS.cob: A first person shooter in COBOL

github.com · 11 Jun

C · Linux · Programming Languages

FPS.cob is a retro-style first-person shooter game implemented entirely in COBOL.

It supports both Wolf3D-style grid maps and DOOM-like sector maps with variable heights. The game utilizes cobc for compilation and ffplay for rendering, offering a unique, experimental look at legacy programming language capability in modern game development.

PHP's Oddities

flowtwo.io · 19 May

Backend · PHP · Programming Languages

Despite PHP's maturity and versatility, the language features unintuitive quirks that often lead to bugs.

Key issues include the overloaded array structure, which acts as a key-value dictionary rather than an ordinal list, and a clunky, inconsistent type system regarding uninitialized class properties. Despite these challenges, PHP remains an efficient, productive language for web development.

Show HN: TRUST – Coding Rust like it's 1989

github.com · 7 May

Programming Languages · Rust · TUI

TRUST is an experimental, retro TUI IDE built for Rust development, modeled after classic blue-screen DOS programming environments.

It allows users to edit files, navigate project structures, and execute Cargo commands like build and test. While functional, it remains a nostalgia project focused on providing a vintage aesthetic for modern Rust workflows.

Expanding Swift's IDE Support

swift.org · 8 Apr

Programming Languages · Swift · VS Code

Swift is expanding its IDE support by launching the official Swift extension on the Open VSX Registry.

This enables developers to use the Swift extension in editors like Cursor, VSCodium, and other LSP-compatible IDEs, bringing features like code completion, debugging, and Swift Package Manager support to macOS, Linux, and Windows environments.

Java sealed classes and exhaustive pattern matching

neilmadden.blog · 18 Oct

Java · Programming Languages

Java sealed classes enable exhaustive pattern matching: the compiler can verify that a switch covers every permitted subtype without a default clause.

However, adding a subtype can break consumers at compile time, and if consumers are not recompiled, the new case may instead cause a runtime MatchException. Therefore, sealed types are safer within components compiled together but risky in public APIs, where extending them can break clients and may require a major version change.

So, I rewrote my game in C3

madrigalgames.com · 28 Nov

Low-Level Programming · Programming Languages

Madrigal Games rewrote Traction Point’s game code from Zig to C3 to improve hot-reload iteration on Windows.

The roughly 100k-line Zig debug build took 24 seconds, and incremental rebuilds over 15 seconds; C3 builds the full game in about 3 seconds. C3 preserves compatible memory and WASM characteristics, enabling a near-mechanical port and future modding. The developer also created SL3, a C3 subset that runs as bytecode or native DLLs for rapid particle-effect iteration while retaining runtime performance.

Full Reverse Engineering of the TI-84 Plus Operating System

siraben.github.io · 8 Jun

Low-Level Programming · Programming Languages · Computer Science

This project provides a comprehensive reverse-engineering analysis of the TI-84 Plus OS.

Utilizing Ghidra, the documentation covers the Z80 architecture, memory paging, system calls, the VAT, and the floating-point engine. It details how the single-tasking OS handles TI-BASIC, graphing, and hardware I/O through extensive subsystem analysis.

I thought I was building a C replacement. I was wrong

c3-lang.org · 16 Aug

C · Design Patterns · Programming Languages

C3's creator realized that calling it a “C alternative” misrepresented its goal.

Inspired by Turbo Pascal and procedural programming, he seeks C’s simplicity and performance with modern ergonomics—dynamic data structures, convenient abstractions, and fast development—without OOP’s up-front architectural coupling. C3 is intended for general-purpose applications, not merely C’s current niches such as systems and embedded software.

How to Implement an FPS Counter

vplesko.com · 22 Apr

Performance · Programming Languages · Computer Science

To accurately measure and display an FPS counter in games, avoid calculating based on individual frames or simple averages.

Instead, use a rolling window of recent frames or processing times to smooth fluctuations. High-precision timers are essential, and using a queue or circular buffer ensures reliable performance tracking over a fixed duration.

Why Objective-C

inessential.com · 27 Feb

Performance · Programming Languages · Open Source

The author explores why they chose Objective-C to build SalmonBay, a high-performance static site generator.

Despite modern alternatives like Swift, Rust, or Go, they prioritized Objective-C for its C-level speed, simplicity, and stability. The project achieved its goal of rendering a 25-year-old blog in under one second while celebrating the language's unique elegance.

Clamiga: Common Lisp for the Amiga

nnamgreb.de · 17 Aug

Low-Level Programming · Performance · Programming Languages

Clamiga is a portable Common Lisp implementation targeting classic AmigaOS 3 on 68k, MorphOS on native PPC, macOS, and Linux.

Its compact bytecode VM, 32-bit values, compacting GC, native AmigaOS bindings, Quicklisp compatibility, and 68k JIT enable full Lisp development on memory-constrained hardware. The project is stable but continues toward ANSI compliance and broader API support.

Cessation of public development of Kefir C compiler

kefir.protopopov.lv · 31 May

C · Programming Languages · Open Source

The author of the C compiler project Kefir has announced they are shifting development to a private model.

Citing sustainability issues, resource constraints, and concerns regarding large language model training, future significant updates will no longer be public. Ongoing maintenance and bug fixes will continue to be addressed for the existing open-source codebase.

Racket v9.1

blog.racket-lang.org · 23 Feb

Programming Languages · Open Source · Computer Science

Racket v9.1 introduces specialized documentation navigation for language families, specifically benefitting Rhombus.

Key updates include new iteration specifiers, improved DrRacket GUI features like curved syntax arrows, and better cross-platform error mapping. Additionally, the release enhances Typed Racket type propagation, updates OpenSSL legacy support, and aligns Racket BC behavior with Racket CS.

Two studies in compiler optimisations

hmpcabral.com · 20 Mar

Performance · Programming Languages · Computer Science

This article explores LLVM compiler optimization passes using concrete examples like modular arithmetic and byte-order conversion.

It highlights how compiler internals, such as InstCombine and SelectionDAG, identify patterns to transform code. It emphasizes that high-performance code relies on understanding compiler machinery, communicating intent via attributes like 'assume', and using standard patterns to facilitate effective optimization.

C++26: The Oxford Variadic Comma

sandordargo.com · 11 Mar

C++ · Programming Languages · Computer Science

C++26 introduces P3176R1, deprecating ellipsis parameters without a preceding comma to improve C compatibility and reduce confusion with variadic template parameter packs.

This 'Oxford comma' for code streamlines syntax, such as changing void f(int...) to void f(int, ...), ensuring better language consistency and opening design space for future C++ features.

How to build a `Git diff` driver

jvt.me · 11 Apr

Git · Programming Languages · Shell

This guide explains how to create external git diff drivers to compare files using custom tools.

It details the seven arguments passed by git diff to external scripts, highlighting how to handle file creation, deletion, and updates, and demonstrates a practical implementation for comparing OpenAPI specifications using oasdiff.

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