If you look at it from the PC market, I can totally understand that.
64 bit only offers little or no benefit for very many embedded implementations. You are not limited by the 32 bit architecture in 99% of the cases. So it makes no sense to invest in a more expensive chipset.
That wiki link is nice, but as explained below, you can just use 64 bit integers on 32 bit chips. It’s really as simple as using a different word where you declare the variable and suddenly you have a 64 bit integer, which eliminates that whole problem.
Only the majority of embedded systems have no concept of “time” at all. Much more than the internal clock, or possibly an external hardware clock, is usually not necessary.
They usually just assume that time started when they started up.
Often numbers larger than 32 bits are not used at all. You often see that numbers with an even lower limit are deliberately chosen, such as 16 or 8 bits, because this has speed and/or storage benefits.
You shouldn’t think of Arduinos as a raspberry pi or something. They don’t run an OS. They really only run code specific to their purpose
[Reactie gewijzigd door youridv1 op 26 maart 2023 11:41]