Hacker News new | ask | show | jobs
by mjevans 2337 days ago
It's usually easy to relegate yourself to the issue of various periodic measures being some crazy human duration long and just writing the software to use a common date/time library and live with it.

Harder are the moments when you actually care if one time has longer seconds than another due to leap seconds or smearing over the day to spread out a leap second.

It's really just easiest if you take nothing for granted, and even assume that clock-cycles aren't of a fixed duration but of a given quanta of work.

1 comments

> It's really just easiest if you take nothing for granted, and even assume that clock-cycles aren't of a fixed duration but of a given quanta of work.

Thanks to spread-spectrum clocking, this really ought to be the default assumption for most computers. It's a small variance, but it's there.