Remix.run Logo
WalterBright 3 hours ago

> behave the way the C implementers want them to

If you don't please your users, you won't have any users.

Jweb_Guru an hour ago | parent | next [-]

It's ironic that I have to tell you of all people this, but many users of C (or at least, backends of compilers targeted by C) do actually want the compiler to aggressively optimize around UB.

groestl 2 hours ago | parent | prev | next [-]

If you're self hosting your compiler on C, you are your own user.

godelski an hour ago | parent | prev | next [-]

Which users?

AlotOfReading 2 hours ago | parent | prev [-]

And yet, C++.

locknitpicker an hour ago | parent [-]

> And yet, C++.

By any metric, C++ is one of the most successful programming languages devised by mankind, if not the most successful.

What point were you trying to make?

Joker_vD 17 minutes ago | parent | next [-]

That it doesn't pleases lots of its users I imagine. I, personally, certainly never enjoyed it but sometimes you don't have a realistic alternative and have to use C++ (or C). In which case your pleasure or displeasure doesn't really matter, you just use that one tool with very sharp edges in the most unexpected (and ridiculously exposed) places with as much care as you could, then bandage your wounds and move on.

zem 21 minutes ago | parent | prev [-]

that it has millions of users while pleasing approximately none of them