4 ms·
Let me say that this topic made me realize how crazy some of the problems in programming are. I cant even imagine programming at FB and amazon scales.
by robertAngst 9y ago
Let me say that this topic made me realize how crazy some of the problems in programming are.
I cant even imagine programming at FB and amazon scales.
- CyberDildonics 9y agoNumerical accuracy of floats and splitting up data into chunks that don't depend on each other are almost as different as any two problems can get.
- workerIbe 9y agoI imagine someone used a float as an index, once.
- __s 9y agoI've dealt with systems using floats as IDs in their DB. Better than when the monetary values were floats
- CyberDildonics 9y agoActually in the CG shader language you can index arrays with floats to get automatic linear interpolation, but I digress...
- kibibu 9y agoTwitter used to use JavaScript numbers to represent various ids in their JSON API. These are, per the JavaScript spec, double-precision (64-bit) floating point numbers. You can only really use these to represent 53-bit integers, so they had to add string versions. (see https://developer.twitter.com/en/docs/basics/twitter-ids https://developer.twitter.com/en/docs/basics/twitter-ids)