News for hackers. Stuff that matters.
Re:I am not yet ready to switch to Zig from Rust by orwin on Friday June 14, 2024 @12:52PM (#40682452)
I dubbed Go 'C+-' the first time I used it, and it was on a program that made heavy use of threading and used a producer-consumer workflow, so I don't think I could have used a better program to test it (and I think Go was the best language for my program).

It probably has changed since, it has been 10 years now, but my feelings were at first 'wow! This is easy' during the prototyping phase, then 'ugh, i'm so limited' during the finalization (and at random points in the middle too probably, but I was fanboying at the time so I didn't really notice). One of the worst thing is the debugger imho. I _get_ gdb. I haven't written a line of C in years, you put me in an interactive gdb, I'm home. Go, I didn't understand how to debug, I had to use my 1rst year technique of printing everywhere, except I never managed to make use of %p, so I was even less effective than that.

Re:I am not yet ready to switch to Zig from Rust by mikemitchelldev on Friday June 14, 2024 @12:58PM (#40682508)
Delve is a great debugger for the Go.
Re:I am not yet ready to switch to Zig from Rust by orwin on Saturday June 15, 2024 @11:10AM (#40690276)
Bear in mind this was 10 years ago hopefully Go have a debugger now, but still, it won't be gdb.
Re:I am not yet ready to switch to Zig from Rust by etse on Saturday June 15, 2024 @04:48PM (#40692596)
Go's debugger has worked just fine for years. What do you prefer about gdb (which also seems to support Go)?