WebAssembly Text Code Samples

On Recursion, Continuations and Trampolines

Higher-order functions in Go

The power of single-method interfaces

Using GoatCounter for blog analytics

How to JIT – An Introduction

SSH port forwarding with Go

Serving static files and web apps in Go

Benefits of dependencies in software projects as a function of effort (2017)

Sudoku, Go and WebAssembly

Stack frame layout on x86-64

I went about learning Rust

Understanding the X64 Code Models

The Y Combinator in Go with generics

Computed goto for efficient dispatch tables

Performance of coroutine-style lexers in Go

Rewriting the lexer benchmark in Rust

Parsing expressions by precedence climbing (2012)

A Faster Lexer in Go

Faster Sorting with Go Generics

Why coding interviews aren't all that bad

File-driven testing in Go

Rust extension traits, greppability and IDEs

Asimov, Programming and the Meta Ladder

Library order in static linking (2013)

Testing multiple implementations of a trait in Rust

Rust data structures with circular references

Rewriting Go source code with AST tooling

A comprehensive guide to ‘go generate’

The benefit of a dependency is inversely proportional to the amount of effort spent on a project

More →