Blogs / Personal blogs

Laurence Tratt

tratt.net

Popular posts
26
Total points
4,804
HN comments
3,147
Rank
#238 personal

Visit tratt.net → On Hacker News Dec 2008 – Jun 2026

Software Engineering 22Programming Languages 10Tools & Productivity 5Systems & Performance 3Life, Learning & Writing 3Society, Policy & Culture 2

3

Which Parsing Approach?

We all know that parsing is an important part of designing and implementing programming languages, but it’s the equivalent of Brussels sprouts: good for the diet, but a taste that only a select few enjoy. Unfortunately, I’ve come to realise that our general distaste for parsing is problematic. While many of us think…

7

Retrofitting JIT Compilers into C Interpreters

C interpreters are a common language implementation technique and the basis for the reference implementations of languages such as Lua, Ruby, and Python. Unfortunately, C interpreters are slow, especially compared to language implementations powered by JIT compilers. In this post I’m going to show that it is possible…

8

How Difficult is it to Write a Compiler?

Recently I was discussing Converge with someone, and mentioned how little time the core compiler had taken to implement (no compile-time meta-programming, limited error checking, but a functioning compiler nonetheless) - only a few days. The chap I was talking to looked at me and told me that he didn’t believe me. I…