terminology - dynamic binding and dynamic linking -


Quote from

  1. ,

    dynamic binding orthogonal for dynamic linking Is ...

    I was wondering how to understand the meaning of orthogonal? Is it because

    • Like compiling source code deep into the machine code, and links to different machine codes are like horizontal, and therefore they are orthogonal of each other,

    • (static / dynamic) Binding name is a concept in compilation

    • In the static / dynamic linking linking Is a concept?

    • If in dynamic linking

      Thanks! , Any included binding, i.e., any organization involving objects (data and / or code) with identifiers is dynamic binding?

      "orthogonal" means that the presence or condition of one (in a more abstract sense) is not dependent

      As a practical example, suppose dynamic binding is the resolution on runtime that should be executed on which part of the code is a result of the function call in the source code. That piece of code may exist in a library that is linked to the executable on link time (static linking), or it can be dynamically loaded in a library loaded over runtime (dynamic linking). No one cares about the binding part how the link was done; Therefore, it is for the latter orthogonal .

      You also want to ask:

      If in dynamic linking, any binding, i.e. the association of objects (data and / or code) with any included identifiers Is dynamic binding?

      This question is meaningless because it does not include binding link process binding static (compiled by compiler and resolved in object code Can be either) or dynamically (can be solved at runtime), but the argument solving binding and binding does not interact with linking at all.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -