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

Two Years of Emacs Solo: 35 Modules, Zero External Packages, and a Full Refactor

rahuljuliato.com · 8 Mar

Programming Languages · Open Source · Computer Science

Emacs Solo is a two-year-old configuration project adhering to a strict no-external-packages rule.

The recent refactor splits the setup into core built-in configurations and 35 custom self-contained modules. Covering everything from LSP integration via Eglot to custom AI assistants, it demonstrates the hidden power of native Emacs 31 features without third-party dependencies.

Official Clojure Documentary page with Video, Shownotes, and Links

clojure.org · 16 Apr

Artificial Intelligence · Programming Languages · Software Architecture

This documentary explores the origins and evolution of Clojure, a Lisp-based programming language known for its emphasis on functional paradigms, immutability, and simple, values-driven design.

It highlights how Clojure powers major infrastructure at companies like Nubank and examines the language's profound impact on modern approaches to software architecture and concurrency.

Swift is a more convenient Rust

nmn.sh · 31 Jan

Performance · Programming Languages · Computer Science

The author examines the technical parallels between Rust and Swift, arguing that despite different syntax, they share a core DNA in memory safety, functional programming features, and LLVM-based compilation.

While Rust adopts a bottom-up approach as a systems language prioritizing speed by default, Swift takes a top-down strategy, prioritizing developer convenience and hiding complex concepts like pattern matching and result types behind C-like syntax. Key differences highlight Rust's explicit ownership model versus Swift’s automatic reference counting and copy-on-write semantics. Furthermore, the article debunks the myth that Swift is limited to Apple platforms, highlighting its growing presence in cross-platform development, server-side applications, and embedded systems as a high-level alternative to Rust.

Logo Programming Language

el.media.mit.edu · 9 Sept

Programming Languages · Education · Computer Science

Logo is an interpreted Lisp dialect designed for learning through immediate feedback, descriptive errors, and incremental vocabulary building.

Its modular procedures, flexible words and lists, arithmetic, recursion, and turtle graphics support stepwise project development. Implementations vary, adding object orientation or multitasking, including Object Logo, MicroWorlds Logo, and StarLogo.

Ruff v0.16.0 – Significant new updates – 413 default rules up from 59

astral.sh · 23 Jul

Programming Languages · Python · Rust

Ruff v0.16.0 introduces a larger default rule set, Markdown code block formatting, and enhanced suppression comments.

The update stabilizes various rules and diagnostic features, improving workflow efficiency. Users can now view diffs for fixes directly in output, providing better transparency for code changes in this high-performance Python linter and formatter written in Rust.

What's new in Emacs 31.1

masteringemacs.org · 24 Aug

Programming Languages · Terminal · UI

Emacs 31.1 is a broad quality-of-life release rather than a single breakthrough.

It removes the deprecated unexec dumper, adds automatic User Lisp Directory setup, richer completions and window/frame management, improved Tree-sitter grammar installation, stronger VC worktree workflows, Unicode 17 support, accessibility and terminal enhancements, new APIs, and numerous compatibility changes.

An Incoherent Rust

boxyuwu.blog · 23 Mar

C · Programming Languages · Rust

The Rust ecosystem faces challenges with crate composition and evolution due to coherence and orphan rules.

These rules, while necessary for soundness and preventing duplicate implementations, hinder the replacement of foundational crates. The author proposes a long-term shift toward 'incoherent traits' using named implementations and explicit trait bound parameters to bypass current limitations.

Swift 6.3

swift.org · 24 Mar

Android · Programming Languages · Swift

Swift 6.3 is now available, featuring improved C interoperability, enhanced build tooling, and official support for Android via a new SDK.

This release optimizes performance, adds module name selectors, refines Swift Testing, and introduces new DocC experimental features, further solidifying Swift as a versatile language for embedded systems, server-side services, and cross-platform mobile development.

Date is out, Temporal is in

piccalil.li · 7 Jan

JavaScript · Programming Languages

In this article, the author critiques JavaScript's legacy Date constructor, highlighting its numerous flaws such as zero-indexed months, inconsistent parsing, and lack of timezone support beyond local and GMT.

The most fundamental issue discussed is that Date objects are mutable, whereas time concepts should be immutable. Transitioning to the new Temporal API, which is currently in Stage 3 of the TC39 process, offers a robust solution. Temporal provides a namespace object that handles dates and times with better ergonomics and, crucially, returns new objects during transformations rather than modifying existing ones. This immutability prevents bugs where modifying a date reference unintentionally alters other variables. While still in experimental stages across browsers like Chrome and Firefox, Temporal represents a significant modern upgrade for the JavaScript ecosystem.

Making a Python interpreter in 1024 bytes

austinhenley.com · 6 Sept

C · Programming Languages · Python

A developer built a 1024-byte C interpreter for a small Python-like language.

It executes expressions and blocks directly while parsing, using global state, single-character variables, source reparsing for loops and functions, and no error handling. GNU C89 tricks and code-golf techniques enabled the final size, with features trimmed primarily to support programs such as FizzBuzz.

C for Rust Programmers

bd103.dev · 7 Oct

C · Low-Level Programming · Programming Languages · Education

C for Rust programmers highlights C’s major differences and hazards for systems developers coming from Rust.

Boolean support historically relied on integers and `<stdbool.h>`; strings use null terminators; integer widths vary by target, especially `long`; and errors commonly use sentinel values or `errno` without compiler enforcement. C also separates `.` and `->` field access, converts function array parameters to pointers, and provides only raw pointers, leaving memory safety to the programmer and risking out-of-bounds bugs.

Woxi: Wolfram Mathematica Reimplementation in Rust

github.com · 25 Feb

CLI · Programming Languages · Rust

Woxi is a Rust-powered interpreter for the Wolfram Language designed for CLI scripting and Jupyter Notebooks.

It offers a lightweight, kernel-free alternative to WolframScript, enabling faster execution for supported functions. Users can install it via cargo, perform CLI evaluations, run scripts, and utilize integrated graphical output within self-contained JupyterLite environments.

Switch Lowering in GCC

xoranth.net · 31 Oct

C · Low-Level Programming · Performance · Programming Languages

gcc lowers switch statements using bitset tests, jump tables, or probability-balanced binary decision trees.

Dense ranges become jump tables, including offset values and dense subsets around outliers; contiguous labels sharing targets reduce comparison costs. Non-contiguous labels may become bitsets tested with x86-64’s bt. Dynamic programming selects clusters using heuristics involving register width, distinct targets, comparisons, table size, optimization for speed versus size, and profile-guided probabilities. Jump tables generally use ratios of 8 for speed and 2 for size.

Java 27 Released

mail.openjdk.org · 15 Sept

Java · Programming Languages · Open Source

JDK 27, the reference implementation of Java 27, is now Generally Available as build 35, following a clean second Release Candidate.

It is production-ready and available through GPL-licensed OpenJDK builds from Oracle. Highlights include G1 as the default garbage collector, post-quantum TLS 1.3 key exchange, Compact Object Headers, JFR data redaction, and several preview or incubating features.

My thoughts after using Clojure for about a month

acdw.net · 2 Jun

Productivity · Programming Languages · Software Architecture

A developer recounts their experience learning Clojure by building a static site generator.

They praise Clojure for its cohesion compared to Common Lisp and its pragmatic "batteries included" approach over Scheme. Despite initial hesitation regarding the multi-bracket syntax and dependency on the JVM, the author finds it ergonomic, powerful, and fun for scripting.

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