|
|
|
|
|
by AnimaLibera
1720 days ago
|
|
C++ is sooo much better than any other compiled language!
For example, using std::cout to print the value 97 will produce different results depending on whether this value is of the type int8_t or int32_t (but in Rust, printing 97 always outputs "97" without depending on the type of 97 that can be i8, i32, whatever).
This is because C++ uses C headers to typedef int into int32_t (or whatever is 32 bits on the implementation that is being used) and to typedef char into int8_t (so the value 97 of type int8_t is printed as "a"), at least that is the case with glibc. What a good language, in comparison Rust is so boring and uninteresting. |
|
What is scary is, I don't doubt that some people will read your comment and think it could be true!