Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> gdb works on zig code, so it isn't unreasonable to expect gdb frontends to also work

As they say typically in the license conditions: This software comes with absolutely no warranty.

Nothing that's not tested in every release (better in every CI build) can be assumed to work. How much of a standard boring Linux distro is written in zig? (That's an honest question, not a justification or even a defense to ship broken software.)

So yes, the headline is most likely misleading: It should be "The state of debugging zig binaries in NixOS." I expect that debugging a C binary on OpenSUSE[1] would give different results.

[1] I picked OpenSUSE here because installing library source is very easy and to my limited experience gdb just finds it. I haven't used OpenSUSE for a while. I have never used NixOS, so no clue whether that would rank above or below average.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: