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

The Gleam Programming Language

gleam.run · 1 Jan

Distributed Systems · Programming Languages · Open Source

Gleam is a modern functional programming language designed for reliability, scalability, and developer productivity.

It runs on the Erlang virtual machine (BEAM), leveraging a battle-tested runtime used by global systems like WhatsApp. The language features a robust type system that eliminates null values and exceptions, providing clear error messages instead. Gleam supports massive concurrency through an actor-based model capable of running millions of green threads. Additionally, it offers excellent interoperability, allowing it to compile to JavaScript and integrate seamlessly with Erlang and Elixir ecosystems. The platform includes a comprehensive toolchain with a built-in compiler, build tool, and package manager.

Go Analysis Framework: modular static analysis by go team

pkg.go.dev · 26 Jul

Programming Languages · Testing · Computer Science

The Go analysis package provides a modular framework for static analysis.

It defines an interface for 'Analyzers' that inspect Go code, report diagnostics, and share information across packages via 'Facts'. This design supports integration with various tools like IDEs, build systems, and command-line utilities, enabling extensible and scalable code checking throughout the Go ecosystem.

RE#: how we built the fastest regex engine in F#

iev.ee · 1 Mar

Algorithms · Programming Languages · Computer Science

RE# is a new general-purpose regex engine built in F# and presented at POPL 2025.

It reintroduces boolean operators (intersection, complement) and context-aware lookarounds while maintaining O(n) search-time complexity. Utilizing Brzozowski derivatives, minterm compression, and lazy DFA construction, it outperforms traditional engines on large-scale benchmarks and provides reliable security against ReDoS attacks.

How close can pure FP get to C?

rtfeldman.com · 22 Oct

Performance · Programming Languages

Roc’s pure functional `roc-deflate` implementation came within single-digit performance of C’s highly optimized `libdeflate`: across 144 non-streaming Silesia benchmarks, it was 8.9% slower on an AMD Ryzen 9 3900X and 2.6% slower on an M1 MacBook Pro, while sometimes winning individual inputs.

Roc’s memory safety, purity, deterministic behavior, and restricted supply chain impose a lower performance ceiling, but compiler optimizations such as opportunistic mutation, hoisted bounds checks, compile-time lookup tables, and wrapping arithmetic narrowed the gap.

Rust (and Slint) on a Jailbroken Kindle

sverre.me · 26 May

Linux · Programming Languages · Rust

The author successfully jailbroke a 7th gen Kindle Paperwhite and implemented a Rust-based UI using the Slint framework.

By cross-compiling for ARMv7 using cargo-zigbuild, and bridging Slint to the Kindle's framebuffer and touch driver via memory-mapped files and ioctl, they developed a custom backend, enabling interactive applications on the e-ink device.

Nanolang: A tiny experimental language designed to be targeted by coding LLMs

github.com · 30 Sept

Artificial Intelligence · Programming Languages · Open Source

NanoLang is a minimal, LLM-friendly programming language that transpiles to C for native performance.

It features an unambiguous prefix notation syntax, mandatory testing via shadow blocks, and a robust module system with automatic dependency management. Designed for both human readability and AI code generation, it supports static typing, generics, and seamless C interop while maintaining a small footprint of only 18 keywords.

A New Way to Think About Borrow Checking (In Reverse)

verdagon.dev · 18 Oct

Algorithms · Low-Level Programming · Programming Languages · Computer Science

Valen introduces an experimental borrow checker whose safety-checking phase walks functions backward, unlike Rust’s forward conflict checks.

After static typing and static grouping identify each reference’s variable or path, the reverse pass tracks pending future uses: MUTATE must not invalidate them, and DECLARE satisfies them. Loop handling records mutations and revived references. The approach simplifies last-use tracking, handles loops naturally, and may be faster, though benchmarking and support for control-flow interruptions, closures, and other features remain incomplete.

Async/Await on the GPU

vectorware.com · 17 Feb

Distributed Systems · Programming Languages · Rust

VectorWare has successfully implemented Rust's async/await and Future trait on GPUs, enabling structured concurrency without custom DSLs.

This achievement allows developers to write complex, high-performance GPU applications using familiar Rust abstractions, leveraging the Embassy executor for task scheduling. The milestone promotes code reuse and safer, more maintainable GPU-native software.

Carl's Required Reading

carlkolon.com · 1 Aug

Database · Programming Languages · Software Architecture

Carl provides a curated list of essential technical readings for software engineers.

The collection focuses on software design, coding practices, frontend architecture, and database management. The resources emphasize simplicity, avoiding unnecessary abstraction, and making informed decisions to ensure robust, performant, and maintainable software systems.

My DIY FPGA board can run Quake II

blog.mikhe.ch · 22 Mar

Hardware · Low-Level Programming · Programming Languages

The author documents the development of a DIY FPGA-based computer, focusing on the fourth iteration of their board.

The project utilizes the Efinix Ti60F256 FPGA and 1GB DDR3L memory, featuring a complex six-layer PCB and BGA soldering techniques. The design integrates a RISC-V SoC created with SpinalHDL, achieving competitive performance benchmarks while successfully running software like Quake II and Doom.

Parametric CAD in Rust

campedersen.com · 27 Jan

Programming Languages · Rust · Robotics

vcad is a new parametric CAD library for Rust designed to replace traditional GUI-based workflows with a programmatic approach.

Built on the manifold geometry engine, it enables developers to create physical parts such as motor mounts and sensor brackets using Constructive Solid Geometry (CSG) operations like union, difference, and intersection. By leveraging Rust's type system and operator overloading, vcad allows for version-controlled, testable, and reproducible hardware designs. The toolchain supports STL and glTF exports with PBR material definitions and is specifically optimized for AI coding agents to automate the generation and rendering of 3D models via Blender MCP integration.

My first patch to the Linux kernel

pooladkhay.com · 19 Mar

C · Linux · Programming Languages

The author developed a Type-2 hypervisor and encountered a critical system crash when managing Task State Segments (TSS) during core switching.

The issue, stemming from a C integer promotion and sign-extension bug in the kernel's helper function, corrupted virtual memory addresses. The author fixed it by correctly casting segments, resulting in their first accepted Linux kernel patch.

Roc version 0.1.0, eight years in the making

rtfeldman.com · 30 Nov

Programming Languages

Roc has released version 0.1.0 after eight years of development.

The Elm-inspired functional language compiles to standalone binaries with hot reloading or WebAssembly, combining Hindley-Milner type inference, purity inference, static dispatch, compile-time evaluation, and platforms that preserve safety without an FFI. Benchmarks show performance near Rust and C in several projects, while its tooling emphasizes fast builds and friendly errors. A growing ecosystem includes web, GUI, game, notebook, networking, and machine-learning projects.

Zig by Example

github.com · 8 Jun

Programming Languages · Testing · Computer Science

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

Through annotated examples, it covers core concepts like syntax, memory management, and C interop, highlighting Zig's focus on robustness, optimality, and simplicity for systems programming. This resource serves as a practical guide for developers working with Zig 0.14.

Show HN: Han – A Korean programming language written in Rust

github.com · 12 Mar

Programming Languages · Rust · Open Source

Han is a statically-typed, general-purpose programming language featuring Korean keywords and identifiers.

Built using Rust, it offers both a tree-walking interpreter and a compiler that generates native binaries via LLVM IR. The project includes a VS Code LSP and aims to demonstrate the scientific elegance of Hangul within modern software development and technical education.

Time Station Emulator

github.com · 27 Jan

Hardware · Programming Languages · Open Source

Time Station Emulator is an innovative browser-based tool that transforms mobile devices into local low-frequency radio transmitters to synchronize radio-controlled (atomic) clocks.

By leveraging WebAssembly and specific PCM audio output, the application generates audio waveforms that produce electromagnetic interference mimicking signals from global stations like DCF77, MSF, and WWVB. This technique relies on harmonic leakage from a device's internal speaker or wired output to bypass geographic and urban interference limitations. The tool is client-side, location-agnostic, and requires no installation, supporting features like daylight saving time and leap second offsets. However, it requires modern browser support and is incompatible with current versions of Safari on iOS or Firefox on Android.

An ode to bzip

purplesyringa.moe · 12 Mar

Algorithms · Performance · Programming Languages

The author explores optimal code compression for a Minecraft Lua mod, ComputerCraft.

Comparing popular algorithms like zstd and xz, bzip2 and bzip3 emerge as winners for text-heavy data. The Burrows-Wheeler Transform (BWT) outperforms LZ77-based methods by grouping context. Bzip offers a superior compression-to-decoder-size ratio for high-level language environments where execution speed is already constrained.

Allocating on the Stack

go.dev · 27 Feb

Go · Performance · Programming Languages

Go developers are improving performance by optimizing stack allocations for slices.

This reduces heap allocations and garbage collector overhead. Updates in Go 1.25 and 1.26 introduce compiler transformations for constant and variable-sized slices, allowing small buffers to reside on the stack even when slices escape, resulting in faster, more memory-efficient programs without manual code changes.

Sonic Pi

sonic-pi.net · 28 Aug

Accessibility · Programming Languages · Education

Sonic Pi is a free, code-based music creation and live performance tool for musicians, DJs, and learners.

It supports composition across styles from Classical and Jazz to Hip hop and EDM, offers friendly coding tutorials, and is designed to be accessible to blind and partially sighted users.

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