3 ms·
You’re likely being downvoted due to the pithiness of your comment, but you make an excellent point. I’ve always promoted the three Iron Laws of never implement
by dpratt 7y ago
You’re likely being downvoted due to the pithiness of your comment, but you make an excellent point. I’ve always promoted the three Iron Laws of never implementing
1) Encryption
2) Date/time math
3) Distributed locking/concurrency primitives
All of these are of sufficient complexity to virtually guarantee that you’re going to miss a score of subtle edge cases, and the consequences thereof are likely simultaneously pervasive, silent and catastrophic.
- polskibus 7y agoWhich open source distributed locking libraries would you recommend?
- _Nat_ 7y agoSome of the downvotes may be from crypto-programmers' frustrations, too. I mean, obviously, someone has to code crypto, or else it wouldn't exist. But, whenever you try talking about the topic online -- whether you're doing it professionally or for self-education -- a probably well-meaning chorus of spam comments warn against doing anything. I suspect that some crypto-folks have given up rebutting the don't-roll-your-own stuff and just down-vote reflexively.
- Gibbon1 7y agoMy frustration with don't write you own is you get strongly urged to use either libraries that are nothing but a tinker toy set of primitives. Or sudo apt-get install openssl.