Skip to main content
aliasing

aliasing

8.9
When two names in a program refer to the same place in memory so changing one changes the other
  • noun
  • /ˈeɪliəsɪŋ/
  • Specialized
translation icon : aliasing
  • When you have immutable objects, aliasing is perfectly harmless.

Examples

  • When debugging software, it's important to be aware of aliasing, as it can lead to confusing behaviors in the code.

  • And that's the question for which aliasing gives you the answer.

  • Instead, just say -fno-strict-aliasing to g++, and use the reinterpret_cast, because that's what it's for, why we have it in the language.

    Blog text (20)
  • This aliasing restriction eliminates the chance of the same data being located in the cache in two locations.

    Academic text (1994)
  • From a strictly formal point of view, inappropriately regarding the above code as platform-independent, the above breaks the strict aliasing rules of C++.

    Blog text (20)
  • The new definition of the PFT structure (away from an inverted PFT) simplifies page-level aliasing.

    Academic text (1994)
  • In computer programming, aliasing occurs when two variables point to the same data in memory, causing unexpected changes.

  • A programmer must consider aliasing when optimizing memory usage to avoid unintended side effects.

Surface Forms

aliasing singular
aliasings plural

Morphology

aliasing = alias (semi-transparent) = alias + ing

The programming sense comes from 'alias' as an alternate name, but the technical use is specialized enough that the full meaning is only partly predictable.

Etymology

The word aliasing comes from alias, meaning 'another name'. In programming it means two or more names point to the same box in the computer's memory, so changing one name changes the same thing — like putting two name tags on one box.