proomt

Search

Search posts, papers, and topics

All posts

Chris Wellons6 min readadvanced

A new, bespoke static site generator to replace Jekyll

Summary

The author replaced Jekyll with a custom C++ static site generator, ssg, for their blog, achieving significantly faster generation times and simpler deployment. Notably, the 8KLoC ssg was primarily written by Claude Opus 5.5 in about two hours, perfectly matching the author's specific coding style.

  • Custom C++ SSG `ssg` generates a blog in 150ms, faster than Jekyll's Ruby startup.
  • Jekyll's main pain point is deployment complexity, especially on macOS, not performance.
  • `ssg` is a single-file C++ executable with zero dependencies, built with a simple `cc` command.
  • Claude Opus 5.5 generated the 8KLoC `ssg` in ~2 hours, matching the author's unique C++ coding style.

Engineers interested in high-performance, dependency-free C++ systems or the cutting-edge capabilities of LLMs for generating complex, idiomatic code should read this.

8/10

Related reading

  1. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min
  2. Migrating the GitHub Copilot runtime to Rust, using Copilot

    The Copilot agent runtime was rewritten from a 130‑k‑line TypeScript/Node.js codebase into a native Rust library (~830 k lines of Rust) to reduce startup latency, memory use, and improve reliability. The migration was done incrementally (in‑place) across 128 PRs, with AI‑generated code handling most of the work. The new runtime exposes a C ABI for in‑process embedding by all six Copilot SDK langu…

    GitHub Oldgithub.blog65 minHN188
  3. Serving Markdown for AI Agents, Now as a Jekyll Plugin

    The author turned a one‑off script that rendered each Jekyll page to Markdown and added a `<link rel="alternate" type="text/markdown">` tag into a reusable Jekyll plugin (jekyll‑md). The gem hooks into the build, extracts the main content (defaulting to `<main>` or `[role="main"]`), converts it to Markdown, injects the discovery link, and requires no per‑page front‑matter. Configuration is option…

    Daniel Doubrovkine (dB.)dblock.org2 min