cm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agoY-10Klemmy.mlexternal-linkmessage-square22fedilinkarrow-up1361arrow-down15cross-posted to: programmerhumor@lemmy.ml
arrow-up1356arrow-down1external-linkY-10Klemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 7 days agomessage-square22fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarecmnybo@discuss.tchncs.delinkfedilinkEnglisharrow-up36·7 days agoYou don’t need 64 bit programs or CPUs to fix the 2038 problem. You just need to use a 64 bit time_t. It will work fine on 32 bit CPUs or even 8 bit microcontrollers.
minus-squareMartianSands@sh.itjust.workslinkfedilinkarrow-up2·7 days agoTrue, that should have occurred to me. That’s what I get for not touching a compiler since the Christmas holidays started
You don’t need 64 bit programs or CPUs to fix the 2038 problem. You just need to use a 64 bit time_t. It will work fine on 32 bit CPUs or even 8 bit microcontrollers.
True, that should have occurred to me. That’s what I get for not touching a compiler since the Christmas holidays started