compiler-design

Tag

Cards List
#compiler-design

Everyone Says Assembly Is Untyped—Everyone Is Wrong - gingerBill

Lobsters Hottest · 2026-08-20 Cached

The article argues that assembly is actually typed and presents Odin's inline assembler as the best implementation due to its deep integration with the language's type system and semantic diagnostics.

0 favorites 0 likes
#compiler-design

CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution

arXiv cs.LG · 2026-08-14 Cached

This paper presents CAKE, a compiler-agent co-design framework that lets AI agents author a hardware-explicit IR for GPU kernels, achieving significant speedups over baselines across various workload families.

0 favorites 0 likes
#compiler-design

Finite State Machines in Forth (1994)

Hacker News Top · 2026-08-08 Cached

This technical note from 1994 describes methods for constructing deterministic and nondeterministic finite state automata in Forth, emphasizing a one-to-one mapping between definitions and state tables to avoid slow nested IFs.

0 favorites 0 likes
#compiler-design

Parallelizing Compilation: In-Process vs Multi-Process

Lobsters Hottest · 2026-07-21 Cached

Discusses two approaches to parallelizing compilation: multi-process (single-threaded compiler with build system spawning multiple instances) and in-process multi-threading (used by Rust and Zig). Compares trade-offs for language design.

0 favorites 0 likes
#compiler-design

What "Memory Compiler" Actually Means: From Bitcells to GDS Tiling

Lobsters Hottest · 2026-07-16 Cached

A technical deep-dive explaining what a memory compiler is, how it uses bitcells to generate SRAM layouts, and the design concepts involved from cross-coupled inverters to GDS tiling.

0 favorites 0 likes
#compiler-design

Typst: Designing for Incrementality

Lobsters Hottest · 2026-06-29 Cached

Typst uses constrained memoization (comemo) and pure function design to make the language and compiler work together, achieving efficient incremental compilation and real-time preview. The article details the design ideas of layout caching, module evaluation memoization, function purity, and the introspection system.

0 favorites 0 likes
#compiler-design

A principled rethinking of array languages like APL

Lobsters Hottest · 2026-05-10 Cached

The article proposes a principled rethinking of array languages like APL by modeling variables as functions of input dimensions, aiming to improve readability and error checking compared to traditional approaches.

0 favorites 0 likes
#compiler-design

What are you doing this week?

Lobsters Hottest · 2026-04-20 Cached

A developer shares progress on Ekto, an embeddable typed language influenced by Lua, Koka, and Erlang, discussing implementation challenges around reference counting, memory management, and delimited continuations for the Casper VM.

0 favorites 0 likes
#compiler-design

Against Query Based Compilers

matklad · 2026-02-25 Cached

A technical blog post critiques query-based compilers, arguing that their effectiveness is limited by the dependency structure of the source language, particularly the avalanche effect where changes can propagate widely, making incremental updates often as expensive as a full rebuild.

0 favorites 0 likes
← Back to home

Submit Feedback