|
|
|
|
 Why Python? Speed! - psong [ 2004-02-25 04:36 | 2,402 byte(s)]
 在美国Python进入了主流吗? - panjunyong [ 2004-02-25 11:06 | 533 byte(s)]
 Re: 在美国Python进入了主流吗? - lonecat [ 2004-02-27 23:27 | 156 byte(s)]
 Re: 在美国Python进入了主流吗? - psong [ 2004-02-25 12:34 | 540 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
(I can only key-in in English since I am in USA, but I am interested in the Python-related activities in the homeland).
I noticed that a lot of programmers have doubt about Python since, I believe, it is not used in the big projects to justify its usefulness. However, in USA, the Python is gaining popularity in a ever-increasing rate. Python is adopted as primary programming languages in the heavyweight companies such as Yahoo and Google.
I am working for rge largest CAE (Computer-aided engineering) in the world and programming in Python
is part of routine work, In the following notes, I will talk about the reasons why Python is employed rather than others.
The first and the most important reason is SPEED. Dont not laugh, speed is the main reason for its popularity:
1. Python is a script language. It is very easy to program, to execute and to debug. If you touches MATLAB, you will know how fast to conduct a matrix multiplification than using the hand-coded program in C or Fortran. With Python, it is easy and fast to customize the products for different customers and applications.
2. It is known that Python is slow in execution, even slower than Java since Java deals with bin code while Python parses the text code. However, Python has nice interface with C and C++ and can works seamlessly with C and C++ by loading, executing and unloading the C/C+ library. The computational intensive tasks can be passed to the libraries in C/C++. At work, users deal with a thin layer of Python running env,, which passes the real task to the C/C++ libs. Our experince shows that the program sufferes only up to 5% speed penality when going through Python. Could Java compete with Python in speed?
A program consists of two parts: Data and algorithm. Data structure is managerically complicated and algorithm is computionally demanding. The intrisinc functionalities makes it ideal for the data modeling while the C/C++ libs take the advantage of computing power of the hardware.
It is my opinion that judging a lauguage (or an approach) by how the data and algorithm are handled, no by the functonalities such as this feature or that feature is supported or not. If a platform is well built, it is easy to put on the features.
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
在国内,知道python的人很少,这是一个遗憾。
很高兴听到你描述python在美国的情况:
However, in USA, the Python is gaining popularity in a ever-increasing rate. Python is adopted as primary programming languages in the heavyweight companies such as Yahoo and Google.
不知道是否大多数程序员,在听说python后,至少知道有这个东东?知名度情况如何?最近要开Python会议了,不知道是否有IT方面的主流媒体关注?
Python在USA的今天,必定是Python在中国的明天。我想看看未来 ;-)
|
|
|
----
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
Python is adopted by modern and technologically advanced companies such as the ones in Silicon Valley.
Our company is aggressively and swiftly moving from C/C++ to Python in GUI programming, code building and reporting. Some old companies, such as Ford, are still using Java. They trust the companies such as MS and Sun, but always blackmailed by those companies. Open-source is really
gaining ground in commericial companies.
Only the old technology will stay in the main stream.
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
The Information Industry of China is controlled by big companies like M$.
|
|
|
----
Windows非常非常好用 不过我用Linux 因为我喜欢...
|
|
[Original]
[Print]
[Top]
|
|
|