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

A perfectable programming language

alok.github.io · 12 Apr

Artificial Intelligence · Programming Languages · Computer Science

Lean is a unique programming language described as "perfectable" due to its integration of dependent types, built-in theorem proving, and seamless metaprogramming.

Unlike its competitors, Lean leverages formal methods to allow developers to prove properties about their code. Its growing community and ability to optimize via semantic equality make it a powerful tool for complex software projects.

Are arrays functions?

futhark-lang.org · 16 Jan

Programming Languages · Software Architecture · Computer Science

This article explores the conceptual and structural relationship between arrays and functions, specifically within the context of functional programming languages like Haskell, Dex, and Futhark.

Historically described as functions mapping contiguous integer domains, arrays share operations analogous to function currying (unflattening), partial application (fixing dimensions), and composition (permutation). The text analyzes how languages like K unify them syntactically, while Dex uses suggestive notation to bridge the gap without unifying their types. For Futhark, total unification remains impractical due to defunctionalization constraints and runtime size requirements. Ultimately, while full type-level unification poses performance and metadata challenges, the author suggests a future for languages that utilize shared abstractions like functors to treat both constructs as array-like entities.

Only 17% of all 64-bit Integers are products of two 32-bit integers

lemire.me · 28 May

Algorithms · Programming Languages · Computer Science

Daniel Lemire explores what fraction of 64-bit integers result from the product of two 32-bit integers.

While Erdös proved that this fraction approaches zero as n increases, exact computations reveal that only about 17% of 64-bit integers are products of two 32-bit factors. The study emphasizes the limitations of simple multiplication-based hash functions.

Erlang/OTP 29.0

erlang.org · 13 May

Backend · Cybersecurity · Programming Languages

Erlang/OTP 29.0 is a major release introducing native records, multi-valued comprehensions, and improved security defaults for SSH.

It adds unsafe function warnings, updates SSL with post-quantum algorithms, and includes new testing and terminal styling modules. Several language improvements, compiler optimizations, and deprecated construct warnings prepare the ecosystem for future versions.

Show HN: I ported Tree-sitter to Go

github.com · 20 Feb

Go · Performance · Programming Languages

gotreesitter is a pure-Go implementation of the tree-sitter runtime, eliminating CGo dependencies for easier cross-compilation and WASM support.

It identifies existing grammars and significantly outperforms CGo bindings, offering up to 90x faster incremental parsing. Features include an S-expression query engine, syntax highlighting, and symbol tagging across 205 supported languages.

How an MIT research project became the Julia programming language

news.mit.edu · 31 Aug

Performance · Programming Languages · Open Source

Julia evolved from an MIT research project into a widely adopted open-source programming language combining Python-like usability with C-like performance for scientific computing, modeling, and simulation.

Its just-in-time compilation supports applications from pharmaceuticals to aerospace. JuliaHub’s Dyad 3.0 extends this mission with physics-aware AI agents that autonomously design and verify complex systems such as aircraft and rockets.

Jolt: Clojure compiler implemented with Chez Scheme

jolt-lang.github.io · 8 Aug

Performance · Programming Languages · Software Architecture

Jolt is a self-hosted Clojure implementation running on Chez Scheme or Gambit.

It produces standalone binaries without requiring a JVM, supporting deep Clojure features like core.async and persistent collections. Jolt enables REPL-driven development and offers an AOT compilation to single binaries, providing a portable, high-performance alternative to traditional JVM-based Clojure workflows.

Show HN: Wyzer Programming Language

github.com · 7 Aug

Distributed Systems · Programming Languages · Computer Science

Wyzer is a statically typed, compiled, resource-oriented programming language designed to unify memory, thread, and network safety under a single ownership rule.

Utilizing Perceus reference counting and choreographic programming, it aims to deliver memory safety without the complexity of traditional borrow checkers or garbage collection, simplifying distributed system development.

The Concise TypeScript Book

github.com · 4 Sept

Programming Languages · TypeScript · Education

The Concise TypeScript Book offers an extensive and focused exploration of the TypeScript language, covering the latest features up to version 5.2.

Designed for developers of all levels, it delves into the powerful type system, structural typing, and advanced utility types like Partial and Readonly. The guide also covers crucial concepts such as Type Narrowing, Discriminated Unions, and Generics, providing practical examples to improve code robustness. As an open-source resource by Simone Poggiali, it serves as both a teaching manual and a technical reference for building scalable applications.

Gribouille 0.3.0: A Grammar of Graphics for Typst

mickael.canouil.fr · 15 Jun

Data Science · Programming Languages · Open Source

Gribouille 0.3.0 introduces granular guide control, allowing users to toggle axes and legends without theme adjustments.

Key updates include a themeable compose() function, default stacking for geom-area(), the defer() helper, and unclipped annotations. The release also improves legend layouts, fixes statistical behaviors, and adds Tinymist-friendly docstrings for enhanced editor support.

sp.h: Fixing C by giving it a high quality, ultra portable standard library

spader.zone · 20 May

C · Programming Languages · Software Architecture

The author introduces sp.h, a portable, single-header C99 standard library designed for direct system interaction.

By avoiding traditional libc dependencies, utilizing explicit allocators, and replacing null-terminated strings with length-prefixed slices, sp.h offers a modern, ergonomic, and high-performance alternative for systems programming, prioritizing simplicity and cross-platform compatibility without unnecessary heap abstraction.

It's OK to compare floating-points for equality

lisyarus.github.io · 14 Apr

Programming Languages · Testing · Computer Science

Using epsilon-based comparisons for floating-point numbers is often a poor practice that leads to non-transitive, unreliable, and arbitrary code logic.

Instead, developers should rethink their algorithms, use robust mathematical approaches for edge cases, and perform careful testing. Epsilon usage is acceptable only in specific, isolated, non-critical contexts like visual rendering or unit testing where approximations are inherently tolerable.

Union types in C# 15

devblogs.microsoft.com · 2 Apr

C# · Programming Languages · Software Architecture

C# 15 introduces union types in .NET 11, allowing developers to define a closed set of types that a variable can hold.

This feature enables exhaustive pattern matching, eliminates the need for unsafe object types or complex hierarchies, and simplifies handling unrelated types. It supports custom implementations for performance-sensitive scenarios and improves overall type safety.

Hoot: Scheme on WebAssembly

spritely.institute · 7 Feb

Programming Languages · Open Source · Computer Science

Hoot is an innovative project from Spritely designed to bring the Scheme programming language to the web via WebAssembly.

By leveraging the Wasm GC extension, Hoot enables efficient execution of Scheme code within modern web browsers. It includes a dedicated Scheme to Wasm compiler and a comprehensive toolchain built entirely on Guile. Notably, the project is self-contained with no external dependencies and features an integrated Wasm interpreter. This allows developers to test binaries directly within the Guile REPL, streamlining the development and testing process for functional programming on the web.

Zen-C: Write like a high-level language, run like C

github.com · 11 Jan

C · Programming Languages · Software Architecture

Zen C is a modern systems programming language designed to transpile into human-readable GNU C/C11.

It bridges the gap between high-level language ergonomics and low-level control by offering advanced features such as type inference, pattern matching, generics, and traits. Crucially, it maintains 100% C ABI compatibility and provides sophisticated memory management tools like RAII, defer, and autofree. The language also includes modern primitives like async/await for concurrency and a powerful macro-like compile-time execution system. With support for multiple backends including GCC, Clang, and Zig, Zen C is positioned as a versatile tool for developers who require C's performance with a more robust, contemporary syntax.

Enabling the parallel frontend on nightly

blog.rust-lang.org · 16 Nov

Performance · Programming Languages · Rust

Rust is enabling its parallel frontend by default on the nightly channel from nightly-2026-11-14 to uncover remaining issues before stabilization.

The frontend, including type and borrow checking, can now use multiple threads; it defaults to 2, while 8 threads reduced single-crate build times by up to 44% in benchmarks and nearly tripled speed for some checks. Whole-graph gains are smaller when CPUs are saturated. Known limitations include nondeterministic diagnostics, higher memory use, and occasional binary reproducibility problems; stable remains sequential.

.NET (OK, C#) gets union types

andrewlock.net · 19 May

C# · Programming Languages · Software Architecture

.NET 11 introduces native 'union' types in C# 15, enabling a type to represent multiple potential values.

These structures simplify handling various types via switch expressions with compiler-enforced exhaustiveness. Developers can implement custom, non-boxing versions to optimize performance, marking a significant advancement in C# functional programming capabilities.

Rust 1.100.0

github.com · 12 Nov

Programming Languages · Rust

Rust 1.100.0 stabilizes the never type, custom allocators, and `extern "custom"`, while expanding linting and compiler capabilities.

It adds `-Cprofile-sample-use`, enables the next solver by default in orphan checking, and promotes or adds several platform targets, including `wasm32-wasip3` and `powerpc64-sony-ps3`. Cargo gains configurable lints, unused-dependency detection, dependency publish-age limits, lockfile-aware `cargo install`, and a new build-artifact layout. Numerous standard-library APIs are stabilized, with compatibility changes including Unicode 18.0.0.

Differences between `foldl` and `foldr`

blog.haskell.org · 30 Sept

Performance · Programming Languages · Computer Science

The article clarifies that `foldl` and `foldr` differ by associativity, not traversal direction.

In lazy Haskell, `foldl` builds costly thunks, so strict `foldl'` is preferred for strict accumulators such as `Map.delete`. Lazy `foldr` enables streaming, partial evaluation, infinite lists, and possible fusion. The guidance depends on the data structure and reducer strictness.

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