News for hackers. Stuff that matters.
Re:Zig: a system language which prioritizes optimality, safe... by dom96 on Monday August 29, 2016 @04:46AM (#12380766)
Why were you shocked? Is it because you're used to languages that prevent null values by default or do you have concerns about the safety of Nim because of this error?

Whatever the case, as far as I am aware, sooner or later Nim will prevent nil values by default.

Re:Zig: a system language which prioritizes optimality, safe... by majewsky on Tuesday August 30, 2016 @04:27AM (#12388342)
If that happens, I'll gladly look at it again. My point is that we have enough languages with unchecked access to nil values by now.
Re:Zig: a system language which prioritizes optimality, safe... by jwatte on Tuesday August 30, 2016 @10:38PM (#12395601)
But how is a nil pointer segv different from a irrefutable pattern mismatch in Haskell, or "undefined is not a function" in JavaScript?