没有诸如“编译语言”这样的东西,或“解释语言” [英] There is no such thing as a "compiled language" or "interpreted language"

查看:154
本文介绍了没有诸如“编译语言”这样的东西,或“解释语言”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有编译语言或解释语言这样的东西,无论语言实现者选择编写一个编译器,解释器还是其间的任何东西都是一个实现细节,与语言无关。

"There is no such thing as a "compiled language" or "interpreted language". Whether a language implementer chooses to write a compiler, an interpreter or anything in between is an implementation detail and has nothing to do with the language. "

上述语句是否为真?

推荐答案

这是真的在最严格的解释。您可以同时找到 C ++解释器 Javascript编译器。然而,你会发现一些类型的语言(例如静态类型)适合本地代码编译。其他语言(例如动态类型)通常使用字节码编译与虚拟机执行环境结合实现。

Yes, it is true in the strictest interpretation. You can find both a C++ interpreter and a Javascript compiler, for example. However, you will find that some types of languages (statically typed, for example) lend themselves well to native code compilation. Other languages (dynamically typed, for example) are commonly implemented using bytecode compilation combined with a virtual machine execution environment.

这篇关于没有诸如“编译语言”这样的东西,或“解释语言”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆