■掲示板に戻る■ 全部 1- 最新50

連訳 − FreeBSD Developers' Handbook

8 :名無しさん@お腹いっぱい。 :2001/05/01(火) 09:08
5.3.1. (2)

The advantage of this is that you can see the results of your commands immediately, and mistakes can be corrected readily. The biggest disadvantage comes when you want to share your programs with someone. They must have the same interpreter, or you must have some way of giving it to them, and they need to understand how to use it. Also users may not appreciate being thrown into a debugger if they press the wrong key! From a performance point of view, interpreters can use up a lot of memory, and generally do not generate code as efficiently as compilers.

この方法の利点は命令の結果をすぐに見られて、間違いをすぐに修正できるという点です。もっとも大きな短所は、プログラムを他の人と共有しようとした時に明らかになります。その人が同じインタプリタを持ってるか、それをその人にあげる必要があり、さらに、その人はインタプリタの使い方を知っていなければならないのです。また、ユーザーが間違ったキーを押したときに、デバッガに連れ込まれるというのも好まれないかもしれません!パフォーマンスの視点から見ると、インタプリタは多くのメモリを消費し、ふつうコンパイラほど効率的なコードを生成しません。



新着レスの表示

掲示板に戻る 全部 前100 次100 最新50
名前: E-mail (省略可) :

read.cgi ver5.26+ (01/10/21-)