3 ms·
Time to use RISC-V processors. They can be 128-bit.
by higherpurpose 11y ago
Time to use RISC-V processors. They can be 128-bit.
- kagamine 11y agoWhat if I want to go even farther? Can someone on HN tell me if 128 bits is enough to get me from the dawn of the universe to the end of time (at work so I can't do it myself for another 4 hours).
- icebraining 11y agoWell, a 128 bit integer can count up to 2¹²⁸-1 seconds; that's more than the number of seconds that have (according to current theories) passed since the birth of the universe: http://wolframalpha.com/input/?i=age+of+universe+%3C+%282^128+seconds%29&x=0&y=0 http://wolframalpha.com/input/?i=age+of+universe+%3C+%282^12...
- kagamine 11y agoGreat news, I'll see you earlier, everyone!
- taejo 11y agoYou have: 2^128 seconds You want: yottayears * 10783128 The universe is less than 14 gigayears old. I don't know of any estimates of how long it will last, but by the Copernican principle we can expect it to be on the order of gigayears.
- tehmaco 11y ago2^128 ~= 3.4 x 10^38 [0] Age of the universe in seconds ~= 4.3 x 10^17 [1] So assuming you're using an unsigned int to represent the number of seconds from the big bang, you'll still have ~ 10^21 seconds left on the clock (31.7 trillion years). Unless you're working with a timeline that extends out to the heat death of the universe (10^100 -> 10^(10^56) years), 128 bits should be enough. [0] https://www.wolframalpha.com/input/?i=2%5E128 https://www.wolframalpha.com/input/?i=2%5E128 [1] https://www.wolframalpha.com/input/?i=age+of+the+universe+in+seconds https://www.wolframalpha.com/input/?i=age+of+the+universe+in...
- marcosdumay 11y agoIf we decide to measure time in tenths of an attosecond, no, it won't do. But if you want to measure in seconds, 64 bits are enough already.
- infogulch 11y agoIf you a single type that counts the number of Plank Time units (10^-44 s) from the big bang until the heat death of the universe, how many bits would you need? If the heat death of the universe is 10^100 years, that's 6*10^150 plank times [1]. log_2(that) ~ 500 bits. So you'd probably go with 512 bits for a maximally-precise time type that will never need to be updated for either size or precision. [1]: http://www.wolframalpha.com/input/?i=convert+10%5E100+years%2Buniverse+age+to+Planck+times http://www.wolframalpha.com/input/?i=convert+10%5E100+years%...
- repsilat 11y agoTwo points: - Quantization of time is not a part any widely accepted physical theory, and the evidence we have so far is consistent with time being continuous. Timekeeping with Planck time units would be "nice" (well, "overkill" and "impossible" are two good words to come to mind as well), but there's no reason in theory that you can't go finer. - When your time is this fine, you also need to talk in very specific ways about reference frames. Time passes at different rates at different altitudes, and relative velocities also screw with you. Where's your reference clock? In some inter-galactic space, stationary relative to the CMB?
- infogulch 11y agoTo be fair, this is more an exercise in taking "future-proofing" to a logical extreme than something practical (or even possible). With that context I (arbitrarily) chose plank time to be the smallest possibly-ever usable (maybe not practical) time scale for timekeeping. That's a good point about location. If we're going for extremes, we should put it in one of the especially large spaces between galaxy clusters: supervoids[0]! If there were a clock made at plank time frequency, I wonder how much of an effect structures would have on it at interstellar, intergalactic, and void space distances. At this accuracy (and these distances) I imagine the clock's own gravity would be a major source of time dilation. Perhaps the best setup would be an extremely small (think the size of a virus) clock with a small support station that provides energy to it and reads ticks back, kept a few hundred thousand light-years away to avoid gravitational influence. Another thing. 10^100 years is a long time. So long that if the time from the big bang to the heat death of the universe were one second long, the universe isn't even 1 plank time old yet. 10^100 years is so long it starts making sense to talk about the half-lives of elements that are considered perfectly stable. To make any clock that is designed to operate continuously for that long would be a crazy undertaking even for an interstellar civilization. [0]: https://en.wikipedia.org/wiki/Void_(astronomy) https://en.wikipedia.org/wiki/Void_(astronomy)