News for hackers. Stuff that matters.
Re:Oops, I Wrote a C++ Compiler by aaaaaaaaaab on Monday August 27, 2018 @11:43AM (#17852134)
More like a “C++ [1] compiler”.

[1] restrictions may apply

Re:Oops, I Wrote a C++ Compiler by saagarjha on Monday August 27, 2018 @02:01PM (#17853076)
To be honest, that's most C++ compilers.
Re:Oops, I Wrote a C++ Compiler by int_19h on Monday August 27, 2018 @05:54PM (#17854901)
Most C++ compilers still implement most of the C++ standard. This thing basically implements C, and adds methods to structs.
Re:Oops, I Wrote a C++ Compiler by mhh__ on Monday August 27, 2018 @06:06PM (#17854960)
That's only technically true. The main C++ compilers in common use basically support, aim to support or have collectively agreed not to support parts of the C++ standard.
Re:Oops, I Wrote a C++ Compiler by jcranmer on Monday August 27, 2018 @07:59PM (#17855523)
> have collectively agreed not to support parts of the C++ standard.

Those parts were ripped out of the standard. (The big one is export templates, where the expert compiler implementers when asked for feedback about how to implement it said "don't").

Re:Oops, I Wrote a C++ Compiler by aaaaaaaaaab on Monday August 27, 2018 @03:08PM (#17853575)
Touché