Machine Dependent versus Machine Independent languages
Why might you want to write a program in a machine independent language instead of a machine- dependent l开发者_开发技巧anguage? Why might a machine-dependent language be more appropriate for writing certain types of programs?
In order to write a program in a machine independent language there must be something on this machine that will convert this language to a machine specific language (machines can read only machine language). The pros of this is that this something could perform optimizations for the specific machine it is running on which you won't be capable of doing in your machine dependent language as it is quite difficult to cover all the different machines your application could possibly run on.
精彩评论