How Loom loads blog content from the local filesystem or a remote git repository using the same interface, parses frontmatter and config without dependencies, extracts image dimensions from raw PNG and JPEG bytes, and derives metadata from git history.
Posts tagged “parsing” (3)
A hand-written markdown-to-HTML converter in 1200 lines of C++. Two passes, zero dependencies, custom extensions, and sub-millisecond performance.
Every allocation is a conversation with the operating system. string_view lets you avoid the conversation entirely.