用C写的Python? [英] Python Written in C?

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

问题描述

我现在正在学习Python,听起来很有趣。但是我只读了(在Wiki页面上)主流Python是用C语言编写的。

这就是我在寻找的东西:Python是用其他东西写的

语言?


看,我关心的是:好吧,如果Python太热了,那么,

希望有人用汇编语言为每个MPU芯片写它

。否则,如果,比如说,他们已经用C#编写了它,那么它看起来就像真正的,通常有用的语言学习是C#而Python是

类似于Visual Basic或其他东西:一种专业语言......而

REAL WORLD程序员想要一般有用去学习

C#。


所以我怀疑Python编译器或解释器是用像C#这样的
REAL语言编写的。所以,Wiki说它是用C语写的!如果这是一个故意的伎俩,它几乎就像

一样......用一个现实世界的语言编写你自己的新语言。当然,将它编译成可执行的

模块,所以它是一个真正的,有效的编译器,好吧。但是

SOURCE是一种古老的高级语言,没有人想再使用

了!所以现在你有了一个热门的新语言包,没有人可以说好吧,它是写的,SOURCE代码写的,真实的

语言。不,这不对!源代码是一些过时的语言和

编译器,没有人会更喜欢学习这个学习你的b / b $ b热门新语言!


我不是在这里贬低Python。只是注意到,如果它是用C语言编写的,那么在试图平衡学习价值时,我会向我抛出一条曲线。[...
Python与其他一些主要语言。 br />

I''m just learning about Python now and it sounds interesting. But I
just read (on the Wiki page) that mainstream Python was written in C.
That''s what I was searching for: Python was written in what other
language?

See, my concern was something like: OK, if Python is so hot, then,
hopefully someone is writing it in assembly language for each MPU chip
out there. Otherwise, if, say, they''ve written it in C#, then it looks
like the REAL, generally useful language to learn is C# and Python is
akin to Visual Basic or something: a specialty language....whereas
REAL WORLD programmers who want to be generally useful go and learn
C#.

So I was suspecting the Python compiler or interpreter is written in a
REAL language like C#. So, Wiki says it''s written in C! It''s almost as
if it were an intentional trick...write your own, new language in an
OLD, real world language that is passe. Compile it into executable
modules of course, so it is a real, working compiler, alright. But the
SOURCE is some old, high level language which no one wants to use
anymore! So now you''ve got a hot new language package and no one can
say "well, it is written in, the SOURCE code is written in, a REAL
language." No, it''s not! The source is some outdated language and
compiler and no one is going to prefer learning THAT to learning your
hot new language!

I''m not dissing Python, here. Just noting that, if it is written in C,
that throws a curve at me in trying to balance the value of learning
Python vs. some other major language.

推荐答案

gi * *************@gmail.com 写道:
gi**************@gmail.com wrote:

我现在正在学习Python及其听起来不错。但是我只读了(在Wiki页面上)主流Python是用C语言编写的。

这就是我在寻找的东西:Python是用其他东西写的

语言?


看,我关心的是:好吧,如果Python太热了,那么,

希望有人用汇编语言为每个MPU芯片写它

。否则,如果,比如说,他们已经用C#编写了它,那么它看起来就像真正的,通常有用的语言学习是C#而Python是

类似于Visual Basic或其他东西:一种专业语言....而

REAL WORLD程序员想要一般有用去学习

C#。
I''m just learning about Python now and it sounds interesting. But I
just read (on the Wiki page) that mainstream Python was written in C.
That''s what I was searching for: Python was written in what other
language?

See, my concern was something like: OK, if Python is so hot, then,
hopefully someone is writing it in assembly language for each MPU chip
out there. Otherwise, if, say, they''ve written it in C#, then it looks
like the REAL, generally useful language to learn is C# and Python is
akin to Visual Basic or something: a specialty language....whereas
REAL WORLD programmers who want to be generally useful go and learn
C#.



Psst。您认为C#的主要实现是什么语言?

写的?


-

Erik Max Francis&& ; ma*@alcyone.com && http://www.alcyone.com/max/

美国加利福尼亚州圣何塞市&& 37 18 N 121 57 W&& AIM,Y!M erikmaxfrancis

演员不是一个人 - 但是,那是谁?

- George Sanders

Psst. What language do you think the primary implementations of C# is
written in?

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 18 N 121 57 W && AIM, Y!M erikmaxfrancis
The actor is not quite a human being -- but then, who is?
-- George Sanders


7月20日,5:50 ??? pm,giveitawhril2 ... @ gmail.com写道:
On Jul 20, 5:50???pm, giveitawhril2...@gmail.com wrote:

我只是现在学习Python,听起来很有趣。但是我只读了(在Wiki页面上)主流Python是用C语言编写的。

这就是我在寻找的东西:Python是用其他东西写的

语言?


看,我关心的是:好吧,如果Python太热了,那么,

希望有人用汇编语言为每个MPU芯片写它

。否则,如果,比如说,他们已经用C#编写了它,那么它看起来就像真正的,通常有用的语言学习是C#而Python是

类似于Visual Basic或其他东西:一种专业语言....而

REAL WORLD程序员想要一般有用去学习

C#。
I''m just learning about Python now and it sounds interesting. But I
just read (on the Wiki page) that mainstream Python was written in C.
That''s what I was searching for: Python was written in what other
language?

See, my concern was something like: OK, if Python is so hot, then,
hopefully someone is writing it in assembly language for each MPU chip
out there. Otherwise, if, say, they''ve written it in C#, then it looks
like the REAL, generally useful language to learn is C# and Python is
akin to Visual Basic or something: a specialty language....whereas
REAL WORLD programmers who want to be generally useful go and learn
C#.



Python适用于想要编程的人,而不是真正的世界

程序员。

Python is for people who want to program, not REAL WORLD
programmers.


>

所以我怀疑Python编译器或解释器是用像C#这样的
REAL语言编写的。所以,Wiki说它是用C语写的!如果这是一个故意的伎俩,它几乎就像

一样......用一个现实世界的语言编写你自己的新语言。当然,将它编译成可执行的

模块,所以它是一个真正的,有效的编译器,好吧。但

SOURCE是一些古老的高级语言
>
So I was suspecting the Python compiler or interpreter is written in a
REAL language like C#. So, Wiki says it''s written in C! It''s almost as
if it were an intentional trick...write your own, new language in an
OLD, real world language that is passe. Compile it into executable
modules of course, so it is a real, working compiler, alright. But the
SOURCE is some old, high level language



C不是高级语言,这是它的一部分问题。

C isn''t a high level language, that''s part of its problem.


没有人想要使用

了!所以现在你有了一个热门的新语言包,没有人可以说好吧,它是写的,SOURCE代码写的,真实的

语言。不,这不对!源代码是一些过时的语言和

编译器,没有人会更喜欢学习这个学习你的b / b $ b热门新语言!


我不是在这里贬低Python。
which no one wants to use
anymore! So now you''ve got a hot new language package and no one can
say "well, it is written in, the SOURCE code is written in, a REAL
language." No, it''s not! The source is some outdated language and
compiler and no one is going to prefer learning THAT to learning your
hot new language!

I''m not dissing Python, here.



是的,你是。

Yes, you are.


只是注意到,如果用C语言编写,

在试图平衡学习价值时向我抛出曲线

Python与其他一些主要语言。
Just noting that, if it is written in C,
that throws a curve at me in trying to balance the value of learning
Python vs. some other major language.



然后去学习C,没有人会阻止你。

Then go learn C, nobody''s stopping you.


文章

< a9 ********************************** @ 59g2000hsb.g ooglegroups。 com>,

Mensanator< me ******** @ aol.comwrote:
In article
<a9**********************************@59g2000hsb.g ooglegroups.com>,
Mensanator <me********@aol.comwrote:

C isn''ta high等级语言,这是问题的一部分。
C isn''t a high level language, that''s part of its problem.



C是我曾经使用过的最高级汇编语言。而且我用了几美元的b $ b。真的很酷,你可以添加两个32位整数而没有

来担心所有这些携带位。

C is the highest level assembler language I''ve ever used. And I''ve used a
few. It really is cool that you can add two 32-bit integers and not have
to worry about all those carry bits.


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

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