All Posts
Every post in one place.

Validating UTF-8 at Gigabytes per Second
Porting simdutf's lookup-table UTF-8 validator to 128-bit WebAssembly SIMD, plus an ASCII fast path that pushes mostly-ASCII text past 58 GB/s.

Quickly detecting Escapes with SWAR
A compact SWAR trick for detecting quotes, backslashes, control characters, and non-ASCII UTF-16 lanes while serializing JSON strings.

Testing in AssemblyScript
A practical guide to setting up tests in AssemblyScript, using snapshots, mocking, fuzzing, and running against real runtimes with as-test.

Quickly parsing Unicode Escapes with SWAR
Parsing JSON unicode escape sequences with SWAR instead of branches or lookup tables.

Fuzzing in AssemblyScript
How to add practical property-based fuzzing to an AssemblyScript project with as-test.
