.Net基本术语中英文对照
1. assembler 和 compiler
assembler汇编器,一般用于汇编语言,动词形式assemble翻译为汇编。compiler编译器一般用于高级语言如C#,Java,动词形式compile,翻译为编译。
2. assembly 程序集。很多人常常会与module(模块)混淆,以至于分不清哪一个才是真实存在的。没办法,Visual Studio默认生成单模块程序集,而多模块程序集则需要命令行工具手动配置。
3. property和attribute
property 属性,attribute特性
4. argument和parameter
argument 调用函数时传进去的数值(实参),parameter 函数定义在括号里面的形成参数(形参)
5. instruction和directive
在汇编语言中有一下三种指令:
instruction(指令)机器码的助记符,有对应的机器码
directive (伪指令)没有对应的机器码,由编译器执行,计算机不执行
其他符号:+ - * / 等,由编译器执行没有对应的机器码
6. flag、tag、token、identity、label、notation和mark
falg 标志
tag 标签
token 标记
identity 标识
label 标号
notation 符号
mark 动词,标注
7. scheme和schema
schema 架构
scheme 方案
8. emit和emission
emisstion 是 emit的动词形式,翻译为流出
9. 关于汇编(assemble)语言中的几个术语:
slot 槽
work 字
regist 寄存器
image 映像
overflow和underflow 上溢和下溢
segment 段
section 节
align 对齐
branch 跳转
allocation 分配
10. export和import
export 导入,import导出
11. 关于forward
Forward class declaration 类的预先声明(声明)
Type forward 类型转发(转发)
12. 关于entry
Entry有很多用法:
最显著地是entry point 入口点,如Main这样的入口点函数
还表示集合的一个元素,常出现在PE头的结构中,翻译为”项”。
还表示二维表中的列,常出现在元数据的结构中,翻译为”字段”
13. edit-and-continue
编辑-继续 用户可以在调试过程中根据调试结果立即修改代码,继续执行程序无需停止调试
14. nested和embedded
都为内嵌的,其中nosted用于内嵌类,enbdded用于内嵌本地代码
15. dereference
dereference 取消引用,并得到该引用,有点像Stack中的出栈操作,不是直接就出栈,还要返回出栈的对象(Push方法返回值类型为Object而不是void)。
16. encloser和sealed
encloser 外包,与nested(内嵌)类相对。
sealed 密闭,表示不可继承。
17. 关于版本号的几个术语
MajorVersion 主版本
MinorVersion 次版本
BuildNumber 内部版本号
RevisionNumber 修订版本号
18. 关于内存布局的几个术语
Explicit Layout 显示布局
Sequential Layout 顺序布局
Union Layout 联合布局
19. validation和verification
validation,有效性检查,用于元数据;verification,验证,用于IL代码。 此外,与这两个术语相关的衍生物:
validity 有效性
verifiable 可验证的
unverifiable 不可验证的
verifiability 可验证性
verifier 验证器
20. retrieve和get
retrieve 检索,有搜索并得到的意思
get 就是获取,直接就能拿到
21. .NET术语缩写:
CLR Common Language Runtime公共语言运行时。
CLS Common Language Specification,公共语言规范
CLI Common Language Infrastructure,公共语言基础结构
CTS Common Type System,通用类型系统
JIT just-in-time,即时
P/Inkoke Platform Invocation,平台调用。
EH Managed Exception Handler,托管异常处理
TLS Thread Local Storage,线程局部存储
22.几个不作翻译的术语,保持原汁原味:
Stub 有的地方翻译为“占位程序”
Wrapper 有的地方翻译为“包装器”
Thunk 出现在互操作中
Sentinel 有的地方翻译为“分隔标记”
23. 以下是一些固定翻译,无须进一步解释
英文 |
中文 |
permission |
权限 |
virtual table(V-table) |
虚表(V表) |
fixup |
定位(用于V表) |
marshal |
封送 |
reside |
驻留 |
literal field |
文本字段 |
underlying platform |
底层平台 |
contravariant |
逆变 |
covariant |
协变 |
isolated storage |
独立存储 |
bitfield |
位域 |
opcode |
操作码 |
operand |
操作数 |
cyclic dependency |
循环依赖性 |
Linker |
链接器 |
finalizer |
终结器 |
sink |
接收器(Remoting忠的术语) |
component |
组件 |
mask |
掩码 |
data on data |
数据上的数据 |
startup |
启动,主要用于startup stub |
verbal description |
逐字描述 |
scope |
作用域 |
convention |
约定 |
constructor |
构造函数 |
destructor |
析构函数 |
specification |
说明、规范 |
instance |
实例 |
instantiation |
实例化 |
instantiatiate |
对……进行实例化(动词) |
The most/least significant bit |
最高/低权重位 |
lower bound |
(数组)下界 |
terminator |
终结符 |
unsigned |
无符号的 |
signed |
有符号的 |
ordinal |
序号 |
neutral |
中立的,无关的 |
engage |
使用(用于异常程序块) |
bitwise operation |
位操作 |
mangle |
粉碎(用于泛型) |
deploy |
部署 |
overload |
重载 |
overrideing |
覆写 |
overriden |
被覆写 |
filter |
筛选(对于托管异常处理) |
local variable |
局部(本地)变量 |
native |
本地的 |
culture |
文化 |
locale |
区域设置 |
location |
位置 |
localization/ localize |
本地化 |
region |
区域 |
manifest |
清单 |
underlying type |
基础类型 |
evaluation stack |
计算堆栈 |
dispose |
释放 |
interop assembly |
互操作程序集 |