static link(名词,常见于计算机科学)主要有两种常见用法:
/ˈstætɪk lɪŋk/
The compiler stores a static link in each stack frame.
编译器会在每个栈帧中保存一个静态链。
To resolve non-local variables efficiently, the runtime follows the static link to the correct enclosing scope, even across multiple levels of nested procedures.
为了高效解析非局部变量,运行时系统会沿着静态链找到正确的外层作用域,即使跨越多层嵌套过程也可以。
static 源自希腊语 statikos(“使静止的、静态的”),经拉丁语与法语进入英语;在计算机语境里常引申为“与编译期/固定结构相关”。
link 源自古英语 hlenc(“链环、连接”),后来泛指“连接关系/连接指针”。组合为 static link 时,强调一种“按词法结构固定的连接”。