好词典

compiler

UK //kəmˈpaɪlə(r)//US //kəmˈpaɪlər//

词源

源自拉丁语 'compilare',意为 '收集' 或 '汇编',后演变为指将代码转换为机器语言的工具。

noun

❶ 编译器,一种将高级编程语言转换为机器语言的软件工具,使计算机能够执行程序。

“The C++ compiler translates your code into executable files.”

(C++编译器将你的代码翻译成可执行文件。)

“A good compiler can optimize the performance of your program.”

(一个好的编译器可以优化程序的性能。)

❶ 汇编者,指收集、整理和编辑信息或资料的人或工具。

“She worked as a compiler for the annual report.”

(她担任年度报告的汇编者。)

“The team of compilers gathered data from various sources.”

(汇编团队从各种来源收集数据。)

同义词:translator, assembler, editor

常见短语

compiler error — 编译器错误,指在编译过程中发现的代码问题,通常需要修复才能继续执行。

“The compiler error prevented the program from running.”

(编译器错误导致程序无法运行。)

compiler optimization — 编译器优化,指编译器在转换代码时进行的性能改进,以提高程序运行效率。

“Compiler optimization can significantly speed up your application.”

(编译器优化可以显著提高应用程序的速度。)