実際にどう使われますか?
下の例文を通して、それぞれの単語がどのような状況で使われるのか学んでみましょう!
linker
例文
The linker is responsible for linking the object files generated by the compiler. [linker: noun]
リンカーは、コンパイラによって生成されたオブジェクト ファイルをリンクする役割を担います。[リンカ: 名詞]
例文
After compiling the code, the linker is used to create the final executable. [linker: noun]
コードをコンパイルした後、リンカーを使用して最終的な実行可能ファイルが作成されます。[リンカ: 名詞]
compiler
例文
The compiler translates the source code into machine code that can be executed by the computer. [compiler: noun]
コンパイラは、ソースコードをコンピュータで実行できるマシンコードに変換します。[コンパイラ:名詞]
例文
After writing the code, the compiler is used to generate an object file that can be linked by the linker. [compiler: noun]
コードを記述した後、コンパイラを使用して、リンカーでリンクできるオブジェクト ファイルを生成します。[コンパイラ:名詞]
追加で知っておくといいこと
どっちの方がよく使われますか?
Compilerは日常の言葉でlinkerよりも一般的に使われています。Compilerはプログラミングの基本的なツールであり、さまざまなコンテキストで使用されますが、linkerはソフトウェア開発プロセスの特定の段階で使用されるより専門的なツールです。
どっちの方がよりフォーマルですか?
compilerとlinkerはどちらもプログラミングで使用される技術用語であり、形式言語と見なされます。