programming-languages

Tag

Cards List
#programming-languages

Rust for Morello: Always-On Memory Safety, Even in Unsafe Code

Lobsters Hottest ↗ · 2026-07-20 Cached

This paper presents a modified Rust compiler for the Morello capability hardware architecture, enabling always-on memory safety even in unsafe code by leveraging hardware capabilities.

0 favorites 0 likes
#programming-languages

@ryanlpeterman: Xavier Leroy (creator of OCaml) is an expert in compilers, formal verification of software and functional programming. …

X AI KOLs Following ↗ · 2026-07-20 Cached

Xavier Leroy, creator of OCaml, discusses OCaml's features compared to Rust and JavaScript, formal verification, type inference, and the impact of LLMs on programming in a podcast interview.

0 favorites 0 likes
#programming-languages

Memory Safety's Hardest Problem

matklad ↗ · 2026-07-20 Cached

This article discusses a fundamental memory safety challenge involving tagged unions where a pointer to one variant is used after the union is overwritten with a different variant, leading to type confusion. The author also argues that buffer overflows are the most exploitable memory error and could have been mitigated with better array syntax.

0 favorites 0 likes
#programming-languages

Why ML/OCaml are good for writing compilers (1998)

Lobsters Hottest ↗ · 2026-07-16 Cached

This article from 1998 argues that ML and OCaml are excellent for writing compilers due to features like garbage collection, tail recursion optimization, and algebraic data types with pattern matching, which simplify handling complex compiler data structures.

0 favorites 0 likes
#programming-languages

How Our Rust-to-Zig Rewrite is Going

Lobsters Hottest ↗ · 2026-07-16 Cached

The Roc compiler team has rewritten their 300,000-line Rust codebase into Zig, achieving feature parity after 18 months, resulting in smaller WebAssembly binaries and improved performance.

0 favorites 0 likes
#programming-languages

a bunch of stuff i used to not know about K&R C

Lobsters Hottest ↗ · 2026-07-15 Cached

The article explores obscure details about pre-ANSI C (K&R C) including the absence of void, different floating point types, and simplified type specifier rules. It explains how the language's context-sensitive grammar was justified by single-pass compiler constraints.

0 favorites 0 likes
#programming-languages

i've been thinking about null pointers

Lobsters Hottest ↗ · 2026-07-15 Cached

The author explores the concept of null pointers, discussing their semantic role and proposing that other invalid pointer values could be used to store additional information, akin to NaN boxing.

0 favorites 0 likes
#programming-languages

Python Is So Slow. Can Julia Solve the Two-Language Problem?

Wired ↗ · 2026-07-13 Cached

This Wired article examines Python's performance limitations in scientific computing and discusses Julia as a potential solution to the two-language problem, drawing historical parallels from Turing Award lectures.

0 favorites 0 likes
#programming-languages

Syntax with Purpose in a Programming Language

Lobsters Hottest ↗ · 2026-07-13 Cached

This article explores the importance of syntax design in programming languages, arguing that syntax should accurately reflect the language's computational model and mental model, rather than being arbitrarily cobbled together for familiarity or conciseness. The author analyzes the syntax design of OCaml, Lisp/Clojure, and JavaScript, and introduces his own language Saul, emphasizing uniformity and semantic consistency.

0 favorites 0 likes
#programming-languages

A Road to Lisp: Why Lisp

Hacker News Top ↗ · 2026-07-09 Cached

The article presents an argument for learning Lisp, highlighting its unique features like macros and extensibility that allow programmers to adapt the language to their problems, and discusses the Blub paradox to explain why programmers from less powerful languages may struggle to recognize Lisp's advantages.

0 favorites 0 likes
#programming-languages

two case studies of NaN

Lobsters Hottest ↗ · 2026-07-09 Cached

This article explores two unexpected behaviors of NaN in Python and Lua, where implicit assumptions about equality and comparison lead to surprising results like Python's list equality ignoring NaN's self-inequality and Lua's for-loops mishandling NaN as step or limit.

0 favorites 0 likes
#programming-languages

Signed Integers By Default

Lobsters Hottest ↗ · 2026-07-07 Cached

An article discussing the debate between signed and unsigned integer defaults in programming language design, using Odin and C3 as examples. The author argues that signed-by-default is more practical despite theoretical advantages of unsigned.

0 favorites 0 likes
#programming-languages

Returning to Zig

Lobsters Hottest ↗ · 2026-07-04 Cached

The author describes their journey from Zig to Rust and back to Zig, exploring the trade-offs between stability and expressiveness in programming languages.

0 favorites 0 likes
#programming-languages

A Forlorn Hope of Fortran Modernisation

Hacker News Top ↗ · 2026-07-01 Cached

This article examines the declining popularity of Fortran in scientific computing and proposes modernizing it with dependent types to address the shortage of skilled Fortran programmers.

0 favorites 0 likes
#programming-languages

@ryanlpeterman: "In C, you will spend one week to make it efficient, and then you will spend one year to make it correct In Haskell, yo…

X AI KOLs Following ↗ · 2026-07-01 Cached

A quote comparing the trade-offs between C and Haskell: C prioritizes efficiency first then correctness, while Haskell prioritizes correctness then efficiency.

0 favorites 0 likes
#programming-languages

Local Reasoning for Global Properties

Lobsters Hottest ↗ · 2026-06-30 Cached

The article explores how AI code generation excels at local code chunks but struggles with global program understanding, leading to excessive defensive checks. It examines whether programming language design can help, using an example of local reasoning assuring global properties.

0 favorites 0 likes
#programming-languages

Counterexamples in type systems (2021)

Hacker News Top ↗ · 2026-06-29 Cached

A curated collection of counterexamples that demonstrate limitations and pitfalls in type systems, serving as an educational resource for programmers and language designers.

0 favorites 0 likes
#programming-languages

Lean Software Scaling Laws (17 minute read)

TLDR AI ↗ · 2026-06-29 Cached

This research proposal investigates how coding LLM perplexity scales with codebase size across different programming languages, using Lean as a test case for formal languages. It suggests that Lean may have better scaling exponents, leading to safer and more secure software at scale.

0 favorites 0 likes
#programming-languages

A Core Calculus for Documents

Lobsters Hottest ↗ · 2026-06-28

A formal core calculus for documents is presented, likely exploring type systems or semantics for document processing.

0 favorites 0 likes
#programming-languages

The feature in OxCaml that more languages should steal - The Consensus

Lobsters Hottest ↗ · 2026-06-27 Cached

OxCaml, Jane Street's superset of OCaml, introduces a `[@zero_alloc]` annotation that forces the compiler to refuse to build if any function in the call tree allocates on the heap, shifting allocation detection from runtime profiling to compile-time enforcement.

0 favorites 0 likes
← Previous
Next →
← Back to home

Submit Feedback