脚本语言与编程语言之间的区别?
请有人向我解释这两种语言之间的差异吗? 而且,一种语言可以同时是这两种类型吗?
Please, can anyone explain to me the diff between these two types of language?
And, can one language be these two types at the same time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本上,大多数脚本语言都是编程语言,但并非所有编程语言都是脚本语言。
两者之间的理论差异是脚本语言不需要汇编步骤,而是被解释。例如,在运行之前,通常需要对C或C ++程序进行编译,而JavaScript或PHP等脚本语言不需要编译。
这是脚本语言和编程语言之间的一些主要区别。
编程语言代码在编译时,将在二进制代码中创建可执行文件,也称为.exe文件,该文件占据内存,而脚本语言不会创建可执行的.exe .exe文件。
用户界面设计和图形设计通常由编程语言部分支持,而用户界面设计,数据类型和图形设计都通过脚本语言极大地促进了。
编程语言旨在促进成熟的软件开发,而脚本语言则用于协助编程语言,并使编码更轻松,更快。脚本语言通常用于开源项目和Web开发。
编程语言是可以自我执行的,而脚本语言需要主机。
编程语言被压缩到不需要用另一种语言或应用程序来解释的小软件包中,而脚本语言则以一种语言编写并在另一个程序中解释。例如,JavaScript必须嵌入HTML,然后由Web浏览器解释。
Basically, most scripting languages are programming languages, but not all programming languages are scripting languages.
The theoretical difference between the two is that scripting languages do not require a compilation step and are instead interpreted. For example, a C or C++ program normally needs to be compiled before running, whereas a scripting language like JavaScript or PHP does not need to be compiled.
Here are some of the main differences between scripting languages and programming languages.
Programming language code, when compiled, creates executable files in binary code, also called .exe files, which take up memory, whereas scripting languages do not create executable .exe files.
User interface design and graphical design are often partially supported by programming languages, whereas user interface design, data types, and graphical design are all greatly facilitated by scripting languages.
Programming languages are designed to facilitate full-fledged software development, while scripting languages are used to assist programming languages and make coding easier and faster. Scripting languages are generally used for open source projects and web development.
Programming languages are self-executable while scripting languages require a host.
Programming languages are compressed into small packages that do not need to be interpreted by another language or application, while scripting languages are written in one language and interpreted in another program. For example, JavaScript must be embedded in HTML, which is then interpreted by a web browser.