News for hackers. Stuff that matters.
Re:Zig, the Small Language by bzxcvbn on Wednesday September 07, 2022 @03:08PM (#32755037)
Doesn't D have a debugger? Hitting F9 then F5 sounds a lot faster than fiddling around with the code, hoping that you forget to remove the assert before you go home and that you won't spend time pleasing the compiler.
Re:Zig, the Small Language by WalterBright on Wednesday September 07, 2022 @05:18PM (#32757047)
Yes, gdb. I don't particularly like gdb, though.

> hoping that you forget to remove the assert

I routinely add a lot of instrumentation when developing code. I use `git diff` to remove it before committing.

The compiler builds itself fast enough that this is not a problem. I have one window on the source, the other on the build.