News for hackers. Stuff that matters.
Re:A JVM Does That? (2011) [pdf] by Negitivefrags on Thursday July 07, 2016 @06:29PM (#12052490)
> It's close to impossible to get certain kinds of code correct in C, for instance, string parsing.

Complete hyperbole. Nothing stops you from using a safe string library in C.

> Also until pretty recently, C and C++ did not have a sane memory model

Technically true, but in practice it was rarely relevant.

Re:A JVM Does That? (2011) [pdf] by PeCaN on Thursday July 07, 2016 @10:02PM (#12053202)
> Complete hyperbole. Nothing stops you from using a safe string library in C.

Nothing technically stops you, it's just really hard. When even djb has suffered a string-processing-related bug¹ you can't reasonably expect to get string processing right all the time. Everyone thinks they can safely handle strings in C. It's like programmer chunibyo² or something.

--

¹ http://article.gmane.org/gmane.network.djbdns/13864

² “8th-grader syndrome”; the sort of overly high opinions middle schoolers have of themselves

Re:A JVM Does That? (2011) [pdf] by johncolanduoni on Thursday July 07, 2016 @09:26PM (#12053099)
Lockless structures is one of those rare cases where it is relevant. Not that I think Java is great for these (Java's atomics support is not great compared to C/C++ or even C#), but at least it's not the free-for-all that C/C++ used to enjoy.