Aliasing

(xania.org)

35 points | by ibobev 5 days ago

4 comments

  • turol 24 minutes ago
    For a real world example of how this can affect code check out this commit I made in mesa: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20...
  • adev_ 27 minutes ago
    Aliasing is no joke and currently the only reason why some arithmetic intensive code-bases still prefer Fortran even nowadays.

    While it is possible to remove most aliasing performance issues in a C or C++ codebase, it is a pain to do it properly.

  • Bootvis 3 hours ago
    The whole series is excellent and as a non regular user of assembly I learned a ton.
  • artemonster 2 hours ago
    I wonder how much potential optimisation there is if we entirely drop pointer nonsense.