an oldie but a goodie .. ISO C90 does not support 'long long'

Phillip Susi phill at thesusis.net
Tue Nov 15 20:36:16 UTC 2022


Jakob Bohm via openssl-users <openssl-users at openssl.org> writes:

> Performance wise, using a newer compiler that implements int64_t etc. via
> frequent library calls, while technically correct, is going to run
> unnecessarily slow compared to having algorithms that actually use the
> optimal integral sizes for the hardware/compiler combination.

Why would you think that?  If you can rewrite the code to break things
up into 32 bit chunks and handle overflows etc, the compiler certainly
can do so at least as well, and probably faster than you ever could.



More information about the openssl-users mailing list