オブジェクトコード
「オブジェクトコード」の英語
「オブジェクトコード」は英語で object code と言います。コンパイラが出力するコードを指す専門用語で、リンク前の再配置可能なコードを指すことがよくあります。CPUが直接実行する機械語を強調する場合は、machine code と言います。
「オブジェクトコード」の英語の使い分け
コンパイラが出力するコードを指す専門用語で、リンク前の再配置可能なコードを指すことがよくあります。
The linker combined the object code into one executable file.
CPUが直接実行する機械語を指す表現で、リンク済みの実行可能コードについて使われることが多いです。
例文
コアイメージ
CPUが直接実行する命令を0と1や数値で表した機械語
英英
Low-level instructions represented in binary or numeric form that a computer's CPU executes directly, performing operations such as arithmetic, control flow, and memory access.
語源
machine codeは、machine(機械)とcode(符号・記号)を組み合わせた語で、コンピュータが理解して実行する命令列を指す語として定着した
コラム
- コンパイラで高級言語が機械語に変換されるとCPUが直接実行できるバイナリになり、人間には読みづらい点がある
例文
コアイメージ
コンパイラの出力で、実行可能化のためのリンカ処理を前提とした命令やデータを含むコード
英英
Code output by a compiler that contains machine instructions or relocatable segments intended for linking and eventual execution by a computer.
語源
object codeは、リンカに渡す対象物であるobjectと命令やデータを示すcodeが結びついて生まれ、オブジェクトファイルとして保存される形で普及した
コラム
- オブジェクトコードはバイトコードや中間言語と呼ばれるものと混同されることがあるが、通常は実行機械語またはリンカ処理を前提とした再配置可能コードを指す
「オブジェクトコード」のレベル別の例文
- 中学
The computer can run machine code directly.
- 高校・英検2級
The compiler converts source code into object code.
- TOEIC・ビジネス
Please send the object code along with the build report.
- 日常会話
So, is this already machine code?
つまり、これはもう機械語なの?
「オブジェクトコード」を英語にするときのよくある間違い
× The compiler made the object code into the program.
○ The compiler generated the object code for the program.
object code は通常、生成するものとして表現します。
× Object code is always the same as machine code.
○ Object code can refer to code prepared for linking, while machine code is directly executable by the CPU.
両者は文脈によって重なりますが、厳密には同じとは限りません。