実際にどう使われますか?
下の例文を通して、それぞれの単語がどのような状況で使われるのか学んでみましょう!
runnable
例文
The code is runnable on both Windows and Mac operating systems. [runnable: adjective]
コードは、Windows と Mac の両方のオペレーティング システムで実行できます。[実行可能:形容詞]
例文
The developer created a runnable version of the app for testing purposes. [runnable: noun]
開発者は、テスト目的でアプリの実行可能なバージョンを作成しました。[実行可能:名詞]
executable
例文
The executable file was downloaded from the internet and installed on the computer. [executable: adjective]
実行可能ファイルはインターネットからダウンロードされ、コンピューターにインストールされました。[実行可能: 形容詞]
例文
The developer compiled the code into an executable file for distribution. [executable: noun]
開発者は、配布用の実行可能ファイルにコードをコンパイルしました。[実行可能ファイル:名詞]
追加で知っておくといいこと
どっちの方がよく使われますか?
Executableは、日常の言語でrunnableよりも一般的に使用されています。Executableはさまざまなコンテキストで使用できるより一般的な用語ですが、runnableは主にJavaプログラミングのコンテキストで使用されるより技術的な用語です。
どっちの方がよりフォーマルですか?
runnableとexecutableの両方に技術的な意味合いがあり、一般的にソフトウェア開発やコンピューターサイエンスなどの正式なコンテキストで使用されます。