Connecting Dots Of Knowledge

Thursday, December 4, 2014

Gangnam Style Has Been Viewed So Many Times It Broke YouTube's Code

No comments :
Whoops!

Just a fun bit for the coders out there: PSY’s Gangnam Style has been viewed so many times that it broke YouTube’s view counter, making it the very first video to break the reaches of a 32-bit integer.

Not sure what the hell that means? Just know that when you’re coding, you often have to consider how you’re storing data like numbers. Do you want a 32-bit integer, or a 64-bit integer? A 32-bit integer* takes up a bit less memory, but can only be used to store numbers from −2,147,483,648 to 2,147,483,647. A 64-bit integer is a bit heftier in its memory usage, but can store numbers from −9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

What Youtube Says:



No comments :

Post a Comment