Date: Wed, 10 Jun 2026 08:44:36 -0700
On Wednesday, 10 June 2026 07:08:36 Pacific Daylight Time Tiago Freire via Std-
Discussion wrote:
> Regardless of what you think the “abstract machine” is, I have raised you
> the practical problem that time consistency is not a thing that still exist
> and it doesn’t matter what language you are talking about, either it be
> C++, C, Rust, assembly, because CPUs no longer work like that.
Inconsistent monotonic clocks are a bug in the platform implementation and a
violation of the Standard that should be fixed by said implementation. If an
application does run on such a platform, it may need to work around platform
bugs. This is no different than any other bugs or conformance failures.
But Jim is asking what the Standard says should happen, independent of bugs.
It's difficult to discuss bugs when we don't agree what the bug-free behaviour
should be.
Discussion wrote:
> Regardless of what you think the “abstract machine” is, I have raised you
> the practical problem that time consistency is not a thing that still exist
> and it doesn’t matter what language you are talking about, either it be
> C++, C, Rust, assembly, because CPUs no longer work like that.
Inconsistent monotonic clocks are a bug in the platform implementation and a
violation of the Standard that should be fixed by said implementation. If an
application does run on such a platform, it may need to work around platform
bugs. This is no different than any other bugs or conformance failures.
But Jim is asking what the Standard says should happen, independent of bugs.
It's difficult to discuss bugs when we don't agree what the bug-free behaviour
should be.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel Data Center - Platform & Sys. Eng.
Received on 2026-06-10 15:44:38
