If you are ever in temptation to do a builder for internal DSL, .declLiteral() might be a better way. I think it might be very cool for GUI structures too.
I did a quick PoC for SQL query building, but unfortunately, any more advanced queries are better to copy & serialize their arguments for safety reasons, so not that useful there, but still, very hyped about this particular thing.
There's something weird about the example that's being given. Coming from C it feels like I am making my struct much bigger... But is it implemented as a pointer to another struct ?
Is there somebody that can explain to me the value of incremental compilation?
How is this different than CMake caching, for example?
More details here: https://ziggit.dev/t/how-zig-incremental-compilation-is-impl...