I really wish FreeBSD were a tier 1 OS.
Zig 0.14.0 Release Notes
11–19 of 19 posts
Re: Zig 0.14.0 Release Notes
#12Re: Zig 0.14.0 Release Notes
#13Re: Zig 0.14.0 Release Notes
#14Great work on the self-hosted (no llvm) compiler and linker ! Is there somebody that can explain to me the value of incremental compilation? How is this different than CMake caching, for example?
My understanding is that Zig's incremental compilation will work on a much more granular level (i.e. functions, etc), so, for example, change one function and only that function (and its dependencies) will get recompiled/relinked (there's some linker trickery involved to avoid needing to relink everything IIUC). More details here: https://ziggit.dev/t/how-zig-incremental-compilation-is-impl...
Re: Zig 0.14.0 Release Notes
#15What's the state of async/await by the way?
Re: Zig 0.14.0 Release Notes
#16Re: Zig 0.14.0 Release Notes
#17Re: Zig 0.14.0 Release Notes
#18Earlier quoted context omitted.
My understanding is that Zig's incremental compilation will work on a much more granular level (i.e. functions, etc), so, for example, change one function and only that function (and its dependencies) will get recompiled/relinked (there's some linker trickery involved to avoid needing to relink everything IIUC). More details here: https://ziggit.dev/t/how-zig-incremental-compilation-is-impl...
Why would the function's dependencies need recompilation? I guess the dependees may require it, if they inlined it, or if the signature changed.
Re: Zig 0.14.0 Release Notes
#19Thank you, so many great features. My personal favorite is .declLiteral() syntax, which makes webserver route-configuration very easy and readable! 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 & serializ…
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 ?