[Vm-dev] Year 2037 problem

Bert Freudenberg bert at freudenbergs.de
Tue May 13 13:21:54 UTC 2014


Our primitiveSecondsClock implementation uses 32 bits. It is only a VM-internal problem, the image always sees a LargeInteger anyway. But the current implementation will overflow in 2037. 

This is similar to Unix's year 2038 problem:
	http://en.wikipedia.org/wiki/Year_2038_problem
But Squeak's epoch is different and we're using seconds, not milliseconds.

Nothing to worry about for a while, but at some point the VMs need be updated, to support images that still use that primitive :)

- Bert -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140513/7cf87575/smime.bin


More information about the Vm-dev mailing list