473,782 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python Written in 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....whe reas
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.
Jul 20 '08
61 6963
On Jul 20, 10:05�pm, Stephen Johnson <dior...@gmail. comwrote:
Carry bits? Who worries about carry bits when you have
unlimited precision arithmetic? You want cool?
THIS is cool:
j = ((invert(xyz[1]-xyz[0],xyz[1]**(k-1))*(xyz[1]**(k-1)-prev_gen[2]))
% xyz[1]**(k-1))/xyz[1]**(k-2)

You call that "cool." I call it "unreadable ."
Ok, but not in the sense that something like
Scheme is unreadable as this is nothing but
algebra (albeit complicaed).
>
-Steve Johnson
Jul 21 '08 #11
On Sun, Jul 20, 2008 at 11:51 PM, Mensanator <me********@aol .comwrote:
On Jul 20, 10:05�pm, Stephen Johnson <dior...@gmail. comwrote:
Carry bits? Who worries about carry bits when you have
unlimited precision arithmetic? You want cool?
THIS is cool:
j = ((invert(xyz[1]-xyz[0],xyz[1]**(k-1))*(xyz[1]**(k-1)-prev_gen[2]))
% xyz[1]**(k-1))/xyz[1]**(k-2)

You call that "cool." I call it "unreadable ."

Ok, but not in the sense that something like
Scheme is unreadable as this is nothing but
algebra (albeit complicaed).
Scheme doesn't *have* to be unreadable... any more unreadable than any
other language when poorly documented/formatted, anyway.
Jul 21 '08 #12
Mensanator wrote:
On Jul 20, 7:37�pm, Roy Smith <r...@panix.com wrote:
>In article
<a9620c65-49c6-4fe7-9cbe-de3779ec3...@59 g2000hsb.google groups.com>,

�Mensanato r <mensana...@aol .comwrote:
>>C isn't a high level language, that's part of its problem.
C is the highest level assembler language

Isn't that like bragging about being the smartest
kid on the short bus?
>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.

Carry bits? Who worries about carry bits when you have
unlimited precision arithmetic? You want cool?
Perhaps you missed the wonderful humor in Roy's post. It was rather
brilliant. Sorry you missed it.
Jul 21 '08 #13
gi************* *@gmail.com wrote:
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.
Definitely one of the most non-sequitor statements I have ever heard.
Actually your entire post doesn't make much sense. Maybe you are a
brother bot to castropini? Perhaps a less-trained one, although none of
castropini's posts seem to make sense either. The AI needs a bit of work.

I am very confused over your incoherent ramblings about C# being some
how more real than C, or Python, or Visual Basic, or any other language.
I fail to grasp what connection the syntax of a language has to do with
anything being real or not. You first say you hope someone was writing
optimized assembly for python on the different platforms (I'm not
familiar with the acronym "MPU.") and then go on to say it should have
been written with C#. I'm confused as to what C# has to do with
optimized, platform-specific assembly.
Jul 21 '08 #14
On Jul 20, 11:08Â*pm, "Dan Upton" <up...@virginia .eduwrote:
On Sun, Jul 20, 2008 at 11:51 PM, Mensanator <mensana...@aol .comwrote:
On Jul 20, 10:05�pm, Stephen Johnson <dior...@gmail. comwrote:
Carry bits? Who worries about carry bits when you have
unlimited precision arithmetic? You want cool?
THIS is cool:
j = ((invert(xyz[1]-xyz[0],xyz[1]**(k-1))*(xyz[1]**(k-1)-prev_gen[2]))
% xyz[1]**(k-1))/xyz[1]**(k-2)
You call that "cool." I call it "unreadable ."
Ok, but not in the sense that something like
Scheme is unreadable as this is nothing but
algebra (albeit complicaed).

Scheme doesn't *have* to be unreadable... any more unreadable than any
other language when poorly documented/formatted, anyway.
When I needed to whip up a variation on Ulam's
Spiral recently, I went and got the Scheme version
I wrote 4 years ago when I briefly toyed with Scheme
and thought I'd just translate the plotting part to
Python. Couldn't make any sense of it and ended up
doing the Python version with Turtle Graphics.

Jul 21 '08 #15
gi************* *@gmail.com wrote:
>
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. ...
No one writes compilers in assembly language. Most people don't even write
assemblers in assembly language.
>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.
You seem to believe that, because YOU are just learning about Python, that
necessarily means that Python itself is new. That is incorrect. Python
was originally conceived and developed in 1990. Anders Hejlsberg, who
designed C#, was still at Borland at that time, and had not even created
Delphi yet. C++ was still many years away from becoming an ISO standard.
>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.
I would say you have a very strange criteria for deciding whether a
language is worth learning.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 21 '08 #16
On 21/07/2008, gi************* *@gmail.com <gi************ **@gmail.comwro te:
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?
Are you a PH.d researcher
In the first place why do you want to make an issue of "what an x
language is compiled in "
and if that' is what you are researching in, then sorry to say you
don't seam to have a mindset needed for researcher.
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....whe reas
REAL WORLD programmers who want to be generally useful go and learn
C#.
First off all c# is absolute rubbish waist of time. if I need to
learn it then I better lern java or pythonfor that matter. and by the
way what is a "real programmer?"
I never knew that there are robots who program vertually and a "real
programmer ".
What do you think I am a spam bot who is writing a "vertual program "
every day? first give me your defination for real programmer.
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!
what! no one is using c? I want to know what people use to write
device drivers? I am such a fool I really never new that people use
c# to create device drivers for hardware and for creating firmware. I
admit my stupidity that I never knew that c# is "real programming
language ".
and what is "your programming language?"pytho n is a free and open
source programming language and does not belong to one person.
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.
My request and strong recommendation to you is "don't learn python,
because you don't deserve to. " I am not saying for dissing you, i
know you are "real programmer ". but you seam to have a typical
mindset which the rubbish microsoft has inculcated in many
programmers, aa sorry "real programmers " line you.
I don't think there is any point saying "vvb kind of " some thing is
great and python is rubbish. every language has its value and vb is
not a language in the first place. python is made with a view that it
is usefull for all purposes and it has been so far successful and I
don't really care why it is done in c as long as it does the work.
happy hacking.
Krishnakant.
--
http://mail.python.org/mailman/listinfo/python-list
Jul 21 '08 #17
Michael Torrie wrote:
gi************* *@gmail.com wrote:
>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.

Definitely one of the most non-sequitor statements I have ever heard.
Actually your entire post doesn't make much sense. Maybe you are a
brother bot to castropini?
or that perl troll making another attempt to add noise to this
newsgroup? I'm a bit surprised that he managed to generate this
many replies, really.

</F>

Jul 21 '08 #18
On Jul 21, 6:58*am, "Krishnakan t Mane" <hackin...@gmai l.comwrote:
>
First off all c# is absolute rubbish waist of time. *if I need to
learn it then I better lern java or pythonfor that matter. *and by the
way what is a "real programmer?"
The story of a Real Programmer:

http://www.pbm.com/~lindahl/mel.html

Iain
Jul 21 '08 #19
ptn
On Jul 20, 5:50*pm, giveitawhril2.. .@gmail.com wrote:
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....whe reas
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.

Sounds like you program only because someone's paying you. Any
programmer who says that C is outdated and not real *is* outdated and
not real.

Not used anymore? Mmmmm I wonder, have you heard of something called
"Linux"? The open source Unix-like system? Or perhaps you are familiar
with "Apache"? Does "GNOME" ring any bells to you? "Vim"? "Git"? You
got some serious research to do, STFW.
Jul 21 '08 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1564
by: David Stockwell | last post by:
Hi, Today I was in a meeting and someone mentioned they were looking for some software whereby they could run their own fax server (ie a computer with a modem, someone sends a fax, and the software convertes it to an image and drops it in an email box). I'm posting this here incase someone happens to know of a python implementation or other language implementation that is either free or for sale? If so, I'd like to know where to get...
0
1652
by: thomasasta | last post by:
Hey there is a new python written open source bit-torrent client out. Don´t mit it up with brams c++ bittorrent, in python it is bit-torrent.sf.net Don´t forget the minus - http://bit-torrent.sourceforge.net/ It´s out till 10 days and the code is open source, so you can add it to any other application in python like CyberSpace or any other app !
4
1791
by: Michiel Overtoom | last post by:
Giveitawhril wrote... No: Real programmers first eat a quiche and then return to their Pascal programming. C is alive and kicking. Every language has its place. Plus, there exists implementations of Python written in Python itself;
0
1276
by: Phil Runciman | last post by:
On 20 jul, 19:50, giveitawhril2...@gmail.com wrote: ".. if Python is so hot.." Python represents progress not the ultimate goal. Thank goodness we are continuing to learn from past mistakes. All compilers and interpreters started out being written in another language. You do not help us by stating the obvious. This is even true of the interpreter in your own brain that processes English. IMHO The latter still has some bugs in it....
0
9643
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.