3 ms·
Wow you weren’t kidding that’s some good stuff. Clean code and excellent documentation. It’s interesting to me how they use “Object oriented C”. I guess it mak
by sgillen 7y ago
Wow you weren’t kidding that’s some good stuff. Clean code and excellent documentation.
It’s interesting to me how they use “Object oriented C”. I guess it makes sense if you want objects but also want to target many many embedded platforms? But I’m sure what advantages that approach has over using a smallish subset of C++.
- commandersaki 7y agoSorry I just saw this reply. I had a discussion with Thomas Pornin (the author of BearSSL) and my understanding that the choice of OO boils down to allowing easy excising of code. So you can select exactly which implementations of algorithms you want in the final executable. Check out the cool size calculator: https://www.bearssl.org/sizes.html https://www.bearssl.org/sizes.html