compiler-construction

Tag

Cards List
#compiler-construction

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
#compiler-construction

Deterministic Fully-Static Whole-Binary Translation Without Heuristics

Hacker News Top · 2026-05-13 Cached

This paper introduces Elevator, a novel binary translator that performs deterministic, fully-static translation of entire x86-64 binaries to AArch64 without heuristics or runtime fallbacks. It achieves performance comparable to QEMU while enabling pre-deployment validation and certification of the translated code.

0 favorites 0 likes
#compiler-construction

7 lines of code, 3 minutes: Implement a programming language (2010)

Hacker News Top · 2026-05-11 Cached

This article presents a minimalist 7-line interpreter for a Turing-equivalent functional language based on lambda calculus, demonstrating the eval/apply design pattern.

0 favorites 0 likes
#compiler-construction

Making your own programming language is easier than you think (but also harder)

Lobsters Hottest · 2026-05-07 Cached

The author shares their experience building a custom programming language for a game modding system, discussing design motivations and technical challenges. The post serves as a reflection on the feasibility and complexity of implementing a non-toy language for personal projects.

0 favorites 0 likes
← Back to home

Submit Feedback