Skip to content

通过知识获得解放,通过技术获得自由

Menu
  • 专题目录
  • 液压相关
    • 液压技术
    • 液压相邻技术
    • 液压应用
  • 计算机相关
    • 计算机和软件
    • 网络和网站技术
  • 哲学
  • 关于本站
Menu

软件的解释器[0]

Posted on 2023年11月14日 by

解释器(英语:interpreter),是一种计算机程序,能够把解释型语言解释执行。解释器就像一位“中间人”。解释器边解释边执行,因此依赖于解释器的程序运行速度比较缓慢。解释器的好处是它不需要重新编译整个程序,从而减轻了每次程序更新后编译的负担。相对的编译器一次性将所有源代码编译成二进制文件,执行时无需依赖编译器或其他额外的程序。

解释器执行程序的方法有:

  1. 直接执行高级编程言(如Shell内建的编译器)
  2. 转换高级编程语言到更有效率的字节码(Bytecode),并执行字节码
  3. 用解释器包含的编译器对高级语言进行编译,并指示中央处理器执行编译后的程序(例如:JIT

Perl,Python,MATLAB,与Ruby是属于第二种方法,而UCSD Pascal则是属于第三种方。

目前工作中常用的解释型编程语言是matlab,其在windows平台上,将其他语言编写的程序在matlab中调用时,采用生成和计算机结构相关的字节码。这与它将matlab代码加密采用的伪代码采用相同的方式。

matlab和python都是常用的脚本语言。

软件的调试过程:

参考资料:

  1. https://zh.wikipedia.org/wiki/%E7%9B%B4%E8%AD%AF%E5%99%A8

欢迎回来

希望本站对你有所帮助!

如有疑问请联系info@fanlog.org
2023 年 11 月
一二三四五六日
 12345
6789101112
13141516171819
20212223242526
27282930 
« 6 月    

AI辅助 (17)

© 2025 | Powered by Superbs Personal Blog theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT