开发者

Machine Dependent versus Machine Independent languages

开发者 https://www.devze.com 2022-12-23 07:26 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消