编译 [英] Compiling

查看:45
本文介绍了编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请原谅我,如果这已经死了,但我找不到一个简单的

解释。


我喜欢它的Python''轻松和快速的发展,特别是对于

编程挑战和我一样但是为什么没有人为Python编写一个

编译器?


我想它不是那么简单呃?


Simon

解决方案

Simon Faulkner写道:

请原谅我,如果这样做的话死亡,但我找不到一个简单的解释。

我喜欢Python,因为它的开发非常简单,特别是对于编程挑战而言。和我一样但是为什么没有人为Python编写一个
编译器?




但是*是* Python的编译器。
< a rel =nofollowhref =http://www.python.org/doc/2.4.2/lib/module-compiler.htmltarget =_ blank> http://www.python.org/doc /2.4.2/lib/...-compiler.html


-

bruno desthuilliers

python -c" print''@''。join([''。''。join([w [:: - 1] for w in p.split(''。'')])for
'o **** @ xiludom.gro'中的
p。分裂(''@'')])"


Simon Faulkner写道:

...为什么没有人为Python编写编译器?
我想这不是那么简单呃?



你会称PyPy为什么?


关于python-to-machine代码转换器的想法,

的好处不会很好至少一个PyPy

对代码的理解水平 - 没有简单的反式lation

会比CPython实现快得多。


顺便说一下,要小心你的语气。在这个普遍友好的新闻组中,这听起来好像是一块砖头。


--Scott David Daniels
sc *********** @ acm.org


Simon Faulkner:

为什么没有人为Python编写编译器?



http:// www。 python.org/doc/faq/genera...other-language

-
$ b $bRenéPijlman


Pardon me if this has been done to death but I can''t find a simple
explanation.

I love Python for it''s ease and speed of development especially for the
"Programming Challenged" like me but why hasn''t someone written a
compiler for Python?

I guess it''s not that simple eh?

Simon

解决方案

Simon Faulkner wrote:

Pardon me if this has been done to death but I can''t find a simple
explanation.

I love Python for it''s ease and speed of development especially for the
"Programming Challenged" like me but why hasn''t someone written a
compiler for Python?



But there *is* a compiler for Python.
http://www.python.org/doc/2.4.2/lib/...-compiler.html

--
bruno desthuilliers
python -c "print ''@''.join([''.''.join([w[::-1] for w in p.split(''.'')]) for
p in ''o****@xiludom.gro''.split(''@'')])"


Simon Faulkner wrote:

... why hasn''t someone written a compiler for Python?
I guess it''s not that simple eh?


What would you call PyPy?

As to the idea of a python-to-machine code translator, the
benefit would not be very great without at least a PyPy
level of understanding of the code -- no simple translation
would be much faster than the CPython implementation.

By the way, be careful about your tone. It sounds like
brick-throwing in this generally friendly newsgroup.

--Scott David Daniels
sc***********@acm.org


Simon Faulkner:

why hasn''t someone written a compiler for Python?



http://www.python.org/doc/faq/genera...other-language

--
René Pijlman


这篇关于编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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