Parsing JSON at compile time with C++26 static reflection
20 points by raymii
20 points by raymii
I've been using D and did that for the last 10 years using the stdlib std.json, which wasn't even written with compile-time in mind. I mean... yeah welcome to CTFE like in D and Nim.
The use of simdjson here surprises me. I thought compile time C++ execution used an interpreter? Does that interpreter support SIMD..? I would’ve thought that a traditional non-SIMD JSON parser design would’ve been a better fit for compile time execution