eqvinox
3 hours ago
The example included below "Why C and C++ Differ" is UB in both C and C++ (and says nothing about "why" C & C++ differ). The article isn't overall wrong but that bit is just...
(Feels a bit like LLM junk, but honestly not sure.)
LoganDark
3 hours ago
> A pointer cast worked fine at -O0 and silently broke at -O2.
Feels like LLM to me. I looked at some of the rest of the article and... pretty much certain now.
rfgplk
2 hours ago
> (Feels a bit like LLM junk, but honestly not sure.)
Why leave such disparaging comments?
munificent
2 hours ago
Because if the comment is correct, it's useful signal for other potential readers to know that they can skip it.
I try to be as charitable as possible when reading and commenting online, but we don't have infinite attention and thanks to AI, it's easier than ever to end up wasting it on things that aren't worth reading.
(I'm not claiming that the article here is or is not an example of that.)
quietbritishjim
2 hours ago
Even if it's not from an LLM, it's still wrong! You've focused on the last important of that comment, really.