News for hackers. Stuff that matters.
Re:The Safe C Library (2009) by snickerbockers on Wednesday April 12, 2017 @08:30PM (#14103011)
There are no unsafe languages, only unsafe coders.
Re:The Safe C Library (2009) by Jweb_Guru on Wednesday April 12, 2017 @08:40PM (#14103070)
I'm going to go ahead and say that if (1) deciding whether code is valid for your language is undecidable, (2) no industrial compiler makes any effort to conservatively accept only valid programs, and (3) unsoundness cannot even be detected at runtime (this is true of C in the multithreaded case) and may result in completely arbitrary behavior, your language is unsafe.
Re:The Safe C Library (2009) by metajack on Wednesday April 12, 2017 @08:38PM (#14103064)
There are only unsafe coders.
Re:The Safe C Library (2009) by Someone on Wednesday April 12, 2017 @08:36PM (#14103050)
There are no unsafe cars, either, only unsafe drivers.

However, there also are plenty of cars that safe drivers will refuse to drive. You don't need crumple zones, safety belts, etc. in a car you will never drive.

Re:The Safe C Library (2009) by naasking on Thursday April 13, 2017 @01:12AM (#14104309)
> There are no unsafe languages, only unsafe coders.

There are no unsafe nuclear launch buttons, only unsafe nuclear launch button pushers.

Hmm, maybe some buttons should be harder to push...

Re:The Safe C Library (2009) by geofft on Wednesday April 12, 2017 @08:44PM (#14103107)
I enjoy using computers because they make fewer mistakes than humans.

I would like to apply the same principle to the language I program computers in. Make it the computer's job to minimize mistakes - it might not be perfect, but it's definitely better than I am!

Re:The Safe C Library (2009) by lacampbell on Wednesday April 12, 2017 @09:14PM (#14103269)
I agree with this sentiment. What I disagree with is the sentiment (which I'm not saying you expressed) of a silver bullet for it. IE if only our test coverage was complete, or our type system was sophisticated enough.
Re:The Safe C Library (2009) by LambdaComplex on Wednesday April 12, 2017 @09:55PM (#14103479)
You're right, there's no silver bullet. But it seems like some people have the mindset of "Since everything is bad and (to some extent), there's no point in trying to improve."
Re:The Safe C Library (2009) by mamcx on Wednesday April 12, 2017 @10:15PM (#14103592)
>There are no unsafe languages, only unsafe coders.

And who develop the languages? Coders.

Ergo, exist unsafe languages.