• 0 Posts
  • 21 Comments
Joined 2 months ago
cake
Cake day: June 4th, 2025

help-circle









  • There’s often a lot of fun cheats you can use - bitwise operators, etc - if your numbers are small powers of two.

    Also it’s easier to organize memory, if you’re doing funky memory management tricks, if the memory you’re allocating fits nicely into the blocks available to you which are always in powers of two.

    They’re not necessarily great reasons if you’re using a language with sufficient abstraction, but it’s still easier in most instances to use powers of two anyways if you’re getting into the guts of things.











  • No, it’s still accurate - the straight line goes through the center of the Earth. Only in coordinate systems where ‘straight’ is defined as following the curvature of a surface are there infinite lines between the North and South Poles… and that would be non-Euclidean geometry.