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

Modern Object Pascal Introduction for Programmers

castle-engine.io · 24 Sept

Programming Languages · Education · Open Source

The guide introduces modern Object Pascal to programmers, presenting its features, practical syntax, and development ecosystem, including Free Pascal Compiler, Lazarus, and Delphi.

It covers fundamentals such as types, control flow, units, classes, inheritance, properties, exceptions, and memory management, emphasizing portability, native performance, and type safety across application development.

Divide by depth for instant 3D

gabrieloc.com · 15 Sept

Low-Level Programming · Programming Languages · Computer Science

The article demystifies 3D cameras by showing that perspective begins with dividing x and y by depth z.

It connects this idea to the perspective projection matrix, explaining focal scale, aspect ratio, clipping planes, view space, clip space, NDC, and the graphics pipeline. Understanding these transformations enables developers to implement only the camera functionality their projects require.

Pluto.jl 1.0 release – reactive notebook for Julia

discourse.julialang.org · 2 Jun

Programming Languages · Open Source · Computer Science

Pluto version 1.0 has launched, marking a milestone for this interactive, reactive notebook environment for the Julia programming language.

Designed for reproducibility, accessibility, and education, Pluto offers enhanced performance, advanced widget APIs, multi-language localization, and robust tools for sharing interactive scientific content. It prioritizes user-friendly exploration and reliable code execution for students and researchers alike.

EDuke32 – Duke Nukem 3D (Open-Source)

eduke32.com · 21 Feb

Performance · Programming Languages · Open Source

EDuke32 is a free, open-source engine port of Duke Nukem 3D, supporting Windows, Linux, and macOS.

It features the advanced Polymer renderer for hardware-accelerated dynamic lighting and shadows. The project offers modern high-resolution support, extensive scripting extensions for modders, and numerous bug fixes, maintaining the classic experience with contemporary performance and controls.

Wax: A User-Friendly Syntax for WebAssembly

tarides.com · 3 Dec

Low-Level Programming · Programming Languages

Wax is a Rust-like syntax and OCaml toolchain for writing, checking, formatting, compiling, and decompiling WebAssembly while preserving its exact instructions.

Created for the nearly 27,000-line hand-written wasm_of_ocaml runtime, it converts bidirectionally among Wax, WAT, and Wasm, supports GC types, editor integration, source maps, and diagnostics, and can reduce the runtime to about 21,000 lines. Its reverse compilation is validated through instruction-stream round trips and WebAssembly test suites.

HP re-releases classic computer science calculator: The HP-16C

hpcalcs.com · 2 Jun

Hardware · Programming Languages · Computer Science

The HP 16c Collector’s Edition revives the classic programmable calculator with a 100x speed increase.

Designed for engineering and computer science, it features RPN logic, base conversions (HEX, DEC, OCT, BIN), and versatile bitwise operations. The model supports keystroke programming, conditional branching, and a new program saving feature, maintaining its status as a specialized tool for professionals.

Jank now has its own custom IR

jank-lang.org · 15 May

Artificial Intelligence · Performance · Programming Languages

The jank compiler has introduced a custom SSA-based intermediate representation (IR) to optimize performance, aiming to rival the JVM.

By implementing tag-based pointer optimization, aggressive inlining, and refining nil handling, the developer successfully optimized a recursive fibonacci benchmark from 5,522ms to 114ms, significantly outperforming the JVM's 200ms baseline.

MessageFormat: Unicode standard for localizable message strings

github.com · 16 Feb

Programming Languages · Open Source · Computer Science

The Unicode MessageFormat Working Group has released MessageFormat 2.0, a stable industry standard for localizable message strings.

Integrated into CLDR, it supports complex features like gender and inflections. The specification provides an interoperable syntax and data model suitable for any programming environment, aiming to improve internationalization and localization workflows across the industry.

Font Rendering from First Principles

mccloskeybr.com · 8 Feb

Algorithms · Programming Languages · Computer Science

The article explores font rendering from first principles, focusing on the TrueType (TTF) file format.

It details the complexity of parsing glyph data, handling quadratic Bezier curves, and the transition from raw bitmap rasterization to Signed Distance Fields (SDF) for high-quality scaling. The author documents building a custom implementation to understand lower-level text layout and rendering.

Girls just wanna have fast MPMC queues with bounded waiting

nahla.dev · 6 Jul

Performance · Programming Languages · Rust

This post explores the design and implementation of a bounded, lock-free Multi-Producer Multi-Consumer (MPMC) queue in Rust.

Using a ticket-based reservation system with atomic counters and ring buffers, the author minimizes cache contention and eliminates CAS loops. While not strictly wait-free, the queue provides bounded wait times and effectively reduces head-of-line blocking for high-concurrency workloads.

My graduation cap runs Rust

ericswpark.com · 12 May

Hardware · Programming Languages · Rust

A graduate student modified their graduation cap by installing WS2812B LEDs, a reed switch, and a Digispark ATtiny85 running custom Rust code.

The project, triggered by tassel movement, involved complex hardware integration and manual configuration of embedded Rust crates. Despite the effort, the creator admits the final result is intended more for demonstration than actual wear.

PowderworksCode/headstart

github.com · 4 Oct

CLI · Performance · Programming Languages · Rust

PowderworksCode/headstart patches rustc and cargo so dependent Rust crates can start compiling after a dependency’s interface is checked, using early .rmeta metadata instead of waiting for function bodies.

It adds -Zearly-metadata and -Zheadstart, overlaps downstream analysis, and delays code generation until full metadata is available. The project reports clean-build gains up to 54% for cargo check and 42% for cargo build across 13 real projects, with a 37% codex-rs build improvement on 16 cores, at the cost of discarded work and higher memory use.

Type Safe Generic Data Structures in C

danielchasehooper.com · 3 Oct

Algorithms · C · Low-Level Programming · Programming Languages

A C technique creates type-safe generic data structures by combining inline storage with a union that carries compile-time type information.

A List(type) union exposes both a runtime node head and a type-specific payload pointer; macros use the ternary operator to reject mismatched elements while automatically supplying sizes. Flexible array members keep each node and its data in one allocation. The approach supports lists, maps, and trees, with typedefs needed when passing instantiated types between functions.

Rust's derive often implies inline

yossarian.net · 4 Oct

Performance · Programming Languages · Rust

Rust’s `#[derive(...)]` currently emits `#[inline]` for implementations such as `Debug` and `Clone`, although this behavior is not formally guaranteed.

In simple types, inlining usually helps, but deeply nested error hierarchies can replicate substantial formatting code at every call site, especially during logging. The uv project reduced its binary by approximately 160KB by replacing derived `Debug` with a procedural macro that uses `#[inline(never)]`.

I hate: Programming Wayland applications

p4m.dev · 22 Mar

Linux · Programming Languages · Software Architecture

While Wayland offers an improved, secure architecture for Linux desktops, its API is notoriously difficult for developers.

Unlike the simpler X11 or Win32 models, Wayland's asynchronous, object-oriented protocol and fragmented extension system create overwhelming complexity for basic tasks like window management, rendering, and input handling, leading to a frustrating developer experience.

Show HN: Zero C# – C# without a runtime or GC

onurgumus.github.io · 21 Nov

C# · Low-Level Programming · Programming Languages

Zero C# is a bflat fork that compiles C# directly into small native programs without the .

NET runtime, garbage collector, or installation requirements. It retains C# 15 features, generics, interfaces, virtual methods, records, lambdas, queries, and threads, while using manually freed arenas and a small library for strings, collections, and I/O. The same source targets Linux, macOS, Windows, WebAssembly, and DOS on a 386; Hello World builds range from 10,752 bytes on Windows to 64,728 on macOS.

Go on Embedded Systems and WebAssembly

tinygo.org · 3 Apr

Go · Hardware · Programming Languages

TinyGo is a compiler based on LLVM that brings Go to embedded systems and WebAssembly.

It supports over 100 microcontroller boards, including Arduino and micro:bit, and offers compact WebAssembly output for browser, server, and WASI environments, making Go efficient for constrained hardware and modern web applications.

WASM is not quite a stack machine

purplesyringa.moe · 27 Apr

Artificial Intelligence · Programming Languages · Software Architecture

While Wasm is often called a stack machine, its lack of robust stack manipulation instructions reveals a different reality.

Wasm functions more like a register machine that uses expression-based encoding. Postfix notation in binary Wasm is merely a compact storage format, not a fundamental architectural design equivalent to traditional stack-based VMs like the JVM.

My (very) fast zero-allocation webserver using OxCaml

anil.recoil.org · 1 Feb

Performance · Programming Languages · Computer Science

The article explores the development of httpz, a high-performance HTTP/1.1 parser built using OxCaml, a set of language extensions for OCaml.

The primary goal of the project is to achieve zero heap allocation during request parsing, which significantly improves predictability and tail latency by reducing garbage collector activity. Key features discussed include the use of unboxed types for records and small integers (int16#), which allow data to remain in registers or on the stack. The author highlights local allocations, exclaves, and 'let mutable' as critical tools for systems-level functional programming. Performance benchmarks demonstrate that httpz can handle approximately 6.5 million requests per second, doubling the throughput of traditional OCaml parsers while maintaining zero allocations. The author concludes by outlining future work regarding io_uring integration and C bindings for zero-copy networking.

December in Servo

servo.org · 23 Jan

Programming Languages · News · Open Source

Servo version 0.0.4 and recent nightly builds introduce significant updates, most notably adding multi-window support and expanding early-stage embedding APIs.

Improvements to the web platform include support for the `contrast-color()` CSS function, enhanced HTML attribute compatibility, and expanded implementations of the SubtleCrypto API, including ChaCha20-Poly1305 and RSA algorithms. Developer experience is improved through updated devtools and better terminal output on Windows. The project also reports stability enhancements, fixed rendering bugs, and crucial work on garbage collection safety involving the SpiderMonkey engine. Community growth remains strong with increased monthly donations and new corporate sponsors.

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