News for hackers. Stuff that matters.
Re:C++ and the Culture of Complexity (2013) by masklinn on Wednesday January 31, 2018 @01:00PM (#16275889)
> Well, most compiler bugs are cases where the compile "is wrong"

Most compiler bugs are situations where the compiler allows stuff it should not or generates incorrect code.

> "being too limited for what I'm trying to do" also sounds like a bug. So this reads to me as "aside from when they are wrong, compilers are not wrong" ;)

Most every compiler is "too limited" to do some things, that is a big reason why dynamically typed languages are still a thing. For instance I can't tell Java to just take any object with an attribute "foo" despite it being the only thing I want to use (and I don't even care about its type) — bypassing the compiler via reflection aside. Do you think that's a bug in the compiler?

Re:C++ and the Culture of Complexity (2013) by jhasse on Wednesday January 31, 2018 @02:50PM (#16276958)
Hm ... I wouldn say thats a limitation of the compiler but of the language itself (no ducktyping). Definitely not a bug though.