[Vm-dev] microsecond timing for GC work

Bert Freudenberg bert at freudenbergs.de
Wed Jan 20 01:14:51 UTC 2010


On 20.01.2010, at 01:28, Andreas Raab wrote:
> 
> David T. Lewis wrote:
> 
>> Lex Spoon suggested 10 years ago that we should have a primitive
>> that answers UTC time plus time zone offset in a single call. He
>> was right, and I guess somebody (tm) should do something about that
>> one of these days.
> 
> I fail to see what that achieves.

It atomically gives you both local time and UTC which is hard to do without such a primitive, because DST can kick in any moment.

Just adding a UTC primitive would go a long way, but this would be even better and hopefully future-proof (POSIX gettimeofday() managed quite well I think).

- Bert -



More information about the Vm-dev mailing list