Python的解释器有哪些种类,各有什么特点?

什么是解释器、编译器?

什么是编译器

摘自 Wiki Compiler 一段

A compiler is a computer program (or a set of programs) that
transforms source code written in a programming language (the source language) into another computer language (the target language), with the latter often having a binary form known as object code. The most common reason for converting source code is to create an executable program. 摘自 Wiki Interpreter

大体的意思:编译器是一种负责把一种编程语言写的代码转换成另一种计算机代码的计算机程序,而后者往往是以二进制的形式被称为目标代码。这个转换的过程的目的是生成可以直接执行的程序。
编译器产生的”另一种代码” 等着被执行。如果还不能直接执行,那就需要重新编译一遍,再交由计算机硬件执行。
编译器,往往是在「执行」之前完成,产出是一种可执行或需要再编译或者解释的「代码」。

什么是解释器

In computer science, an interpreter is a computer program that directly executes, i.e. performs, instructions written in a
programming or scripting language, without previously compilin

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值