Jump to content

David Heffernan

Members
  • Content Count

    3562
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by David Heffernan

  1. David Heffernan

    Aligned and atomic read/write

    Yes, I read what you wrote. What you wrote was wrong. You said nothing about cache lines.
  2. David Heffernan

    Custom Managed Records Coming in Delphi 10.3

    There's nothing to switch off. You choose to switch it on on a type by type basis.
  3. David Heffernan

    Aligned and atomic read/write

    Single bytes are aligned, because they can't straddle cache lines. Reads are therefore atomic, because they are aligned. Two byte reads can straddle cache lines and unaligned reads are not atomic.
  4. David Heffernan

    Aligned and atomic read/write

    Actually both of these statements are wrong. Reading unaligned memory is not atomic for reads that straddle cache lines. And unaligned memory access is not slow on modern processors.
  5. David Heffernan

    Managing Version Information Across Builds

    The IDE's tools aren't well designed in my view. Don't set the version information that way, instead make it part of your automated build process.
  6. It's not that the override does nothing. There is no override. It makes no sense to me to reintroduce a method of that name.
  7. Why don't you override the method from TObject?
×