r/cpp • • Oct 03 '22

Is C++ your favorite programing language?

And why

292 Upvotes

255 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Oct 03 '22

[deleted]

8

u/[deleted] Oct 03 '22

C++ didn’t even have a legal way to convert between bit-representations until C++20 are you are talking about “close to the wire”!

0

u/[deleted] Oct 03 '22

[deleted]

3

u/[deleted] Oct 03 '22

You want to write code that is not guaranteed to work? Odd…

1

u/hmoein Oct 03 '22

C++ has been manipulating bits since late 80's. Most of the US financial infra runs on C++. And that's only the area I am aware of

→ More replies (0)

1

u/serviscope_minor Oct 07 '22

You want to write code that is not guaranteed to work? Odd…

It was guaranteed by the compilers, not the standard, but the standard allows compilers to make extra guarantees.In practice as a result the code was guaranteed to work. Not ideal, but in this case it wasn't just like it was blind luck, a wing and a prayer and the cod was just itching to break.

→ More replies (0)