@AndrewTribone @wilkieii Python does it the C way. C is confused as shit about how to represent booleans as integers. Ruby does it right
-
-
Replying to @bascule2 replies 0 retweets 0 likes
-
Replying to @AndrewTribone
.
@AndrewTribone@wilkieii trying to apply boolean semantics to integers literally causes security vulnerabilities: https://speakerdeck.com/tarcieri/thoughts-on-rust-cryptography?slide=25 …2 replies 3 retweets 3 likes -
Replying to @AndrewTribone
@AndrewTribone@wilkieii vulnerabilities seen in both OpenSSL and GNUTLS this year, but it speaks generally to C1 reply 0 retweets 0 likes -
Replying to @AndrewTribone
@AndrewTribone@wilkieii in C 0 either means success or false. It effectively means both false and true at the same time. What the fuck2 replies 0 retweets 0 likes -
Replying to @AndrewTribone
@AndrewTribone@wilkieii someone accidentally returns an integer + someone interprets it as bool + it's zero == vuln no Python is wrong1 reply 0 retweets 0 likes
@AndrewTribone @wilkieii this conversation just makes me feel like "fuck shitty type systems"
-
-
Replying to @bascule0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.