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

How much "boilerplate tax" different languages have: a 400M LOC analysis

boyter.org · 3 Feb

Programming Languages · Open Source · Computer Science

The author examines the utility of scc (Sloc, Cloc, and Code), a tool designed to measure code size, while focusing on a largely ignored feature: Unique Lines of Code (ULOC).

To validate ULOC as a measure of project complexity and 'dryness,' the author analyzed approximately 400 million lines of code across the top 1,000 GitHub repositories categorized by language. The study reveals that Clojure and Haskell rank highest in code density, while languages like C# and Go exhibit significant boilerplate repetition. This data suggests that modern languages do not always reduce redundancy compared to older paradigms like Lisp. The analysis provides a baseline for interpreting language 'dryness,' defining high density at around 75% uniqueness and high boilerplate at below 55%.

Considering Strictly Monotonic Time

matklad.github.io · 23 Jan

Performance · Programming Languages · Operating Systems

The article explores the implementation of strictly monotonic time as a robust alternative to standard monotonic time abstractions.

While most operating systems promise monotonic time, empirical evidence suggests this promise can fail in edge cases. Developers often use in-process guards to ensure that time never moves backward, but the author argues for enforcing strict monotonicity where every successive call to the clock results in a strictly greater value. This approach improves system reliability by allowing for tighter assertions and eliminating ambiguity between separate time queries. With nanosecond precision, incrementing the value by a single unit during rapid successive calls ensures uniqueness without drifting significantly into the future, making the derivation of time instances more traceable and less prone to logical errors in high-concurrency or performance-sensitive environments.

A Unique Performance Optimization for a 3D Geometry Language

cprimozic.net · 10 Jan

Performance · Programming Languages · Software Architecture

The author details the development and optimization of Geoscript, a domain-specific language for 3D geometry manipulation within the Geotoy environment.

Initially focused on constant folding and Common Subexpression Elimination (CSE), the author discovered that because Geoscript programs are pure functions with deterministic outputs, they could implement a unique 'Cross-Run Expression Cache Persistence.' This technique memoizes evaluated AST nodes using structural hashing and persists them across subsequent runs. In live-coding scenarios where developers make minor tweaks, this optimization allows the interpreter to skip expensive geometric operations, such as alpha-wrapping, by retrieving results from the previous execution. Additionally, the system handles PRNG state deterministically to ensure cache hits remain valid even when randomness is involved, drastically improving the developer experience.

Shell scripts

f5n.org · 9 Jan

DevOps · Productivity · Programming Languages

The author explores the limitations of traditional shell scripts and evaluates several alternatives for handling tasks beyond twenty lines of code.

Key challenges include the clunky nature of C-style wrappers in languages like Python and the lack of native piping ergonomics. The article reviews Janet using the 'sh' package, noting its elegant syntax for command execution, though the author remains undecided on Janet's overall depth. Other experiments include a custom Lua-based implementation called 'harsh' and Python, which offers better logic at the cost of verbose subprocess overhead. Ultimately, while no 'perfect' tool has replaced Bash yet, the author emphasizes the value of structured languages for debugging and long-term maintenance in DevOps workflows.

Introducing Test That

hovinen.me · 24 Jun

Programming Languages · Rust · Testing

Test That! is a new Rust testing library forked from GoogleTest Rust.

It provides powerful, diagnostic-rich assertions while resolving significant design flaws and API complexities introduced in recent GoogleTest versions. The library offers a more intuitive API, improved matcher composability, and optional dependencies, aiming to provide an effortless, high-quality testing experience for the Rust ecosystem.

First package written in Algol 68 lands in Gentoo

jemarch.net · 18 Mar

Linux · Programming Languages · News

Gentoo Linux has officially become the first GNU/Linux distribution to package and distribute software written in Algol 68.

The package, identified as godcc in the repository, marks a historical milestone, as the developer community expects other distributions to quickly follow this trend of supporting legacy programming languages.

sysp: Systems Lisp compiling to C with homoiconic macros, refcounted memory, Hindley-Milner type inference

github.com · 24 Jan

Low-Level Programming · Programming Languages · Computer Science

sysp is an innovative systems Lisp dialect that compiles directly to readable C, specifically engineered for high-performance numerical computing and GPU development.

By utilizing homoiconic macros, sysp allows developers to generate specialized C and CUDA kernels at compile time, bridging the gap between expressive high-level programming and low-level performance. It features a robust Hindley-Milner type inference system with monomorphization, supporting both precise types and a boxed Value fallback. Key functionalities include manual memory management via reference counting, tail-call optimization through goto conversion, and a zero-runtime overhead model. It is particularly effective for projects requiring hardware acceleration while maintaining the metaprogramming flexibility of a Lisp environment.

Rust's standard library on the GPU

vectorware.com · 20 Jan

Programming Languages · Rust

VectorWare has achieved a milestone by enabling Rust's standard library (std) to run on GPUs, a capability previously restricted due to the lack of operating systems on graphics hardware.

By using a custom 'hostcall' framework that functions similarly to syscalls, GPUs can now perform complex tasks like file I/O and networking. This breakthrough enhances developer ergonomics and allows for the reuse of existing Rust crates in high-performance GPU programming.

I Stopped Chasing New Frameworks. My Code Got Better

dev.to · 5 Jan

Career · Programming Languages · Software Architecture

The author shares a personal journey from chasing every trending framework to focusing on software engineering fundamentals.

Initially, the constant novelty of new tools provided a false sense of productivity, whereas it actually hindered deep progress. By sticking with a single stack, the author began to recognize recurring patterns and hidden complexities that syntax-dependent learning had previously obscured. The article emphasizes that while frameworks inevitably expire, core concepts like clear data flow, naming conventions, and proper dependency boundaries provide compounding value. Ultimately, mastery of these fundamentals makes adapting to new technologies faster and less stressful. The author suggests a strategic approach: only adopt new tools when they solve immediate, real-world problems rather than using them as a shortcut to feel competent. True career growth stems from the ability to reason clearly through complexity, a skill that remains relevant regardless of the specific technology stack utilized.

How I came to write THAT paper with Leslie Lamport

lawrencecpaulson.github.io · 29 Nov

Programming Languages · History · Computer Science

Lawrence Paulson recounts how he became coauthor with Leslie Lamport on “Types Considered Harmful,” after rejecting Lamport’s critique of typed specification languages.

Editor Andrew Appel asked them to make it technically accurate while preserving its argument for untyped set-theoretic formalisms; despite another rejection round, TOPLAS published it with a disclaimer. Paulson says type systems have since matured and enabled verified systems including CompCert, seL4, and Amazon’s Nitro Isolation Engine, while untyped formalisms still invite errors and lack notation overloading.

cgo's pointer check is all over the place

theconsensus.dev · 23 Nov

Go · Low-Level Programming · Programming Languages

cgo’s pointer checker can reject documented-safe Go-to-C calls, impose up to roughly 1,600× overhead, and miss deeply nested pointers.

Its syntax-based rewriting recognizes expressions such as `&s.small` only when written directly in the C call; assigning the same pointer to a variable or adding parentheses can trigger conservative whole-object scans and a panic. Directly typed checks cost about 48 ns, versus up to 76 µs without type information. `runtime.Pinner` helps, but checks reach only about two pointer levels.

On Leaving Swift for Rust

prux.org · 16 Nov

Programming Languages · Rust · Swift

The author resigned from Swift’s Android workgroup not because of conflict, but because Rust better matches a future of AI-generated, cross-platform software.

They still praise Swift and expect it to remain strong for Apple platforms and Skip-based iOS/Android development. However, Swift and its tooling remain Apple-first and difficult across wider targets and host systems. Rust’s support for about 300 platforms and foundational cross-compilation make it a better basis for the author’s planned omni-platform development tool and harder technical challenges.

Objects, attributes, maps, oh my

bernsteinbear.com · 21 Oct

Algorithms · Performance · Programming Languages

Dynamic-language runtimes optimize object attributes by replacing per-object hash tables with immutable maps (shapes or hidden classes) that assign compact offsets and describe layouts.

Maps support inline storage and pointer-identity checks, while inline caches remember a map/index pair to turn repeated string lookups into fast indexed loads. Attribute insertion order and field count affect cache behavior, and objects of different classes can share shapes. Python and C++ sketches connect this design to storage strategies, typed attributes, and class versioning.

Gleam case exhaustiveness, as a fan

oyster.pckt.blog · 10 Oct

Algorithms · Programming Languages · Computer Science

Gleam’s compiler validates case expressions for exhaustiveness and unreachable clauses, then reports precise missing patterns.

Its checker builds optimized decision trees from branch checks, drawing on pattern-matching research while extending it for guarded string prefixes, bit arrays, and type narrowing based on known values. Compile-time Fail nodes produce witness patterns by tracing dead ends backward, while imported names and formatting are preserved in diagnostics. This combines correctness, performance, and unusually detailed user feedback.

evocation - Call forth the blue-green flame of computation from the universe, weave its energies into a fabric, that we may share our blood with it

code.irenes.space · 21 Sept

Low-Level Programming · Programming Languages · Operating Systems

Evocation is a self-hosting, self-bootstrapping Forth dialect and compiler targeting amd64.

Its distinctive hex transform emits commented, byte-level binary descriptions that can be audited and converted into executables by a tiny 480-byte hex program, establishing a transparent root of trust. The project emphasizes language experimentation, reproducibility, and aesthetic, human-built systems programming.

Golang developers should try Odin

rm4n0s.github.io · 13 Sept

Go · Low-Level Programming · Programming Languages

An experienced Golang developer presents Odin as a simpler, more low-level alternative for backend and game development.

He praises its stable language, generics, struct tags, explicit error modeling, allocators, and flexible interface/concurrency patterns, while acknowledging manual memory management, limited libraries, absent documentation, and no package manager. The article is enthusiastic, humorous, and opinionated.

The State of Allocators in 2026 - 6 Months Later

cetra3.github.io · 9 Sept

Low-Level Programming · Programming Languages · Computer Science

Rust custom allocators are nearing stabilization, with a minimal Allocator API supporting Vec, Box, and potentially dyn Allocator.

Recent work addresses unsoundness involving unwinding, allocator cloning, Pin, covariance, and memory invalidation through proposed unsafe marker traits. More container support and pinning guarantees remain; final review and stable release are still several months away.

Interview with oofoe about REBOL, Forth, Decker, Janet and the VFx Industry

alexalejandre.com · 30 Aug

Algorithms · Programming Languages · Computer Science

An interview with @oofoe explores DSL design, REBOL, Forth, Janet, Racket, and Decker; “programming in the small”; PEG parsers, transpilation, compilation, GUIs, and human-sized codebases.

It also details Janet-based industrial tools and render-farm architecture for VFx, including client-server scheduling, resource fairness, and hot code updates, plus a career spanning games, visual novels, and IMAX production.

Opus is a minimal, statically-scoped Lisp dialect based on the semantics of f-expressions (the Kernel language)

github.com · 20 Aug

Programming Languages · Software Architecture · Open Source

Opus is a minimal, statically scoped Lisp dialect based on Kernel’s f-expressions.

Implemented in Haskell with CPS and compiled to WebAssembly, it minimizes Special Forms through the operative ($vau) primitive and executable environments. This enables user-land functions, macros, hygienic modules, sandboxes, proper tail calls, and first-class continuations.

Zig Day Seattle, WA #3

zig.day · 15 Aug

Programming Languages · Education · Open Source

Zig Day Seattle is a full-day, hands-on event at Bellevue Library where attendees learn Zig, collaborate in pairs or groups, contribute to existing projects, and share results.

Andrew Kelley is expected to attend. Parking and transit are available, and participants can subscribe to future-event notifications or contact ScottRedig.

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