Hi Niels, If you are going to break the ABI anyway, this sounds like an ideal time to also make those changes, better to have one big disruption than many consecutive ones.
On Wed, 2025-03-05 at 17:11 +0100, Niels Möller wrote:
Niels Möller nisse@lysator.liu.se writes:
I've decided to start doing some of the cleanup changes that will break ABI and/or API (which has been stable since nettle-3.6, released 5 years ago).
Related question, is this a good time to start requiring a C11 compiler? Would enable some improvements that affect the api or abi:
We could enforce 16-byte alignment for union nettle_block16. Could in theory give improved performance, in particular for SIMD assembly code that can then use instructions that require 16-byte alignment. But unclear to me if that would make any measurable difference.
We could change return type from int to bool (or _Bool) for functions returning a success/fail indication.
Regards, /Niels
-- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ nettle-bugs mailing list -- nettle-bugs@lists.lysator.liu.se To unsubscribe send an email to nettle-bugs-leave@lists.lysator.liu.se