类型擦除
类型擦除是计算机进程设计时,在编译期明确去掉所编进程(某部分)的类型系统。
操作语义不需要进程伴随着类型,这称作“类型擦除语义”(type-erasure semantics)。 类型擦除语义的一种可能是通过抽象原理,确保进程在运行时执行不依赖类型信息。
与之相对的是类型传递语义(type-passing semantics)。如通过具体化。。类型擦除的逆操作是类型推断。
单词 | Type erasure |
释义 |
Type erasure
中文百科
类型擦除类型擦除是计算机进程设计时,在编译期明确去掉所编进程(某部分)的类型系统。 操作语义不需要进程伴随着类型,这称作“类型擦除语义”(type-erasure semantics)。 类型擦除语义的一种可能是通过抽象原理,确保进程在运行时执行不依赖类型信息。 与之相对的是类型传递语义(type-passing semantics)。如通过具体化。。类型擦除的逆操作是类型推断。
英语百科
Type erasure 类型擦除In programming languages, type erasure refers to the compile-time process by which explicit type annotations are removed from a program, before it is executed at run-time. Operational semantics that do not require programs to be accompanied by types are called type-erasure semantics, to be contrasted with type-passing semantics. The possibility of giving type-erasure semantics is a kind of abstraction principle, ensuring that the run-time execution of a program does not depend on type information. In the context of generic programming, the opposite of type erasure is called reification. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。