Me: "Go is really nice. Perfect for some infrastructure/plumbing I need to write." Me: *reads code that uses the bitwise left shift operator to update the timeout to an exponential backoff instead of multiplying by 2*pic.twitter.com/LKXj6XX1HV
-
-
Replying to @generativist
A long time ago, when cpus were simple enough that you could talk about how instructions were processed in the one cpu with the one core you had that was under your desk and not in the cloud, somebody said that was faster in C to bit shift than multiply by two.
1 reply 1 retweet 2 likes
Replying to @kareem_carr
And -- although they may have been correct -- we code readers have all suffered ever since.
11:52 AM - 12 Jan 2019
0 replies
0 retweets
1 like
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.