Hacker News new | ask | show | jobs
by account42 15 days ago
> The problem is that the language is simply too complex with way too many corner cases.

Bullshit. These are compiler bugs that can be fixed. It's just not a priority because it doesn't affect normal use with valid code.

> This means that having a C++ compiler that will never crash or hang is literally mathematically impossible unless you stick to only parsing a subset of the grammar.

This is only a theoretical concern since every compiler will accept arbitrarily large programs anyway due to being built on fixed-width integer architectures which can only address finite amounts of memory. Real compiler can set reasonable limits where they can avoid both hangs and crashes.