New blog: using compile-time gather to validate db schema at program startup
Adam D. Ruppe
destructionator at gmail.com
Tue Nov 4 00:40:15 UTC 2025
https://dpldocs.info/this-week-in-arsd/Blog.Posted_2025_11_03.html
This uses a combination of old and new(ish) D features to achieve
something I'm not sure I've ever seen before. Interpolated
sequences, opDispatch, static constructors build on top of a
dynamically typed database query driver to provide schema
validation not at runtime, not at compile time, but somewhere in
between. See more at the link.
More information about the Digitalmars-d-announce
mailing list