Jump to content

David Heffernan

Members
  • Content Count

    3586
  • Joined

  • Last visited

  • Days Won

    176

Everything posted by David Heffernan

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Why don't you override the method from TObject?
×