V2EX  ›  英汉词典

Compiler-dependent

定义 Definition

compiler-dependent依赖编译器的;由具体编译器实现决定的。常用于说明某种行为、结果或特性在不同编译器(或不同编译器版本/选项)下可能不同,因此不具备可移植性。(在技术语境中也常与 implementation-definedunspecified 等概念对比;不同标准对边界有更细的划分。)

发音 Pronunciation (IPA)

/kəmˈpaɪlər dɪˈpɛndənt/

例句 Examples

The output is compiler-dependent, so the same code may print different values.
输出结果依赖编译器,因此同一段代码可能会打印出不同的值。

Because the behavior is compiler-dependent, the project avoids relying on that optimization and documents an explicit fallback.
由于该行为依赖编译器,项目避免依赖这种优化,并记录了明确的替代方案。

词源 Etymology

compiler(“编译器”,来自 compile “汇编、编译”)+ dependent(“依赖的”,来自 depend “依靠”)组合而成的复合形容词,用来描述“某事由编译器决定/受编译器影响”。

相关词 Related Words

文学与著名作品 Literary & Notable Works

  • The C Programming Language(Kernighan & Ritchie):讨论可移植 C 代码时常涉及“依赖实现/编译器差异”的风险。
  • C11 Standard(ISO/IEC 9899:2011)及后续 C 标准:以更规范的术语(如 implementation-defined/unspecified/undefined behavior)系统描述“由实现决定”的行为。
  • CERT C Coding Standard:大量规则与建议围绕避免“依赖编译器/实现”的写法,以提升安全性与可移植性。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1706 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 06:34 · PVG 14:34 · LAX 22:34 · JFK 01:34
♥ Do have faith in what you're doing.