Re: New SHM layout from gpsd

2023-01-20 Thread Gary E. Miller via devel
Yo Hal! On Fri, 20 Jan 2023 02:11:29 -0800 Hal Murray wrote: > The 31 bit idea seems strange/ugly to me. How did you decide to do > it that way? For back compatibility. > Why is it better than 32 unsigned bits? Is there some case that > works with 31 bits that breaks with 32? Yeah, 2038. >

Re: New SHM layout from gpsd

2023-01-20 Thread James Browning via devel
> On 01/20/2023 2:11 AM PST Hal Murray wrote: > > > The 31 bit idea seems strange/ugly to me. How did you decide to do it that > way? It is either Richard's fault or, more likely, mine. I proposed replacing the current SHM, and I need to communicate better. My alternate had a shared half-era co

New SHM layout from gpsd

2023-01-20 Thread Hal Murray via devel
The 31 bit idea seems strange/ugly to me. How did you decide to do it that way? Why is it better than 32 unsigned bits? Is there some case that works with 31 bits that breaks with 32? I think there is a case that works for 32 unsigned that doesn't work for 31. Consider code that gets upd