Repository

trevorah/simdown

simdown

Open github.com

trevorah/simdown

simdown

A CommonMark-compliant Markdown parser for Go using SIMD on arm64, achieving ~960 MB/s on Apple M4. Falls back to a scalar path at ~300 MB/s on other architectures.

Visit project

Show me a random project

First shared
Oct 25, 2026
HN activity
20

Show HN@trevorahOct 25, 2026

Show HN: simdown – use SIMD to parse Markdown at ~1 GB/s

The SIMD path currently needs arm64 (NEON) and GOEXPERIMENT=simd. I've only benchmarked on an Apple M4, but it should help on any arm64 chip (Graviton, Ampere, etc.). Elsewhere it falls back to a scalar path that does ~300 MB/s, still ahead of cmark and goldmark. If you know of a faster CommonMark parser, please tell me and I'll add it to the benchmarks. Under the hood, it borrows a lot from this paper on using simd for json parsing: https://arxiv.org/abs/1902.08318

Community

Hacker News discussion

Loading the thread…