URN Logo
UNIX Resources » Linux » China Linux Forum » Python 编 程 » 20 » Why Python? Speed!
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.net
  业界新闻与评论
  自由软件杂谈
  IT 人生
  Linux软件快递
  翻译作坊
  Linux图书与评论
  GNU Emacs/XEmacs
  Linux 中文环境和中文化
  Linux桌面与办公软件
  Linux 多媒体与娱乐版
  自由之窗Mozilla
  笔记本电脑上的Linux
  Gentoo
  Debian 一族
  网络管理技术
  Linux 安装与入门
  WEB服务器和FTP服务器
  域名服务器和邮件服务器
  Linux防火墙和代理服务器应用
  文件及打印服务器
  技术培训与认证
  Linux内核技术
  Linux 嵌入技术
  Linux设备驱动程序
  Linux 集群技术
  LINUX平台数据库
  系统和网络安全
  CPU 与 编译器
  系统计算研究所专栏
  Linux下的GUI软件开发
  C/C++编程版
  PHP 技 术
  Java&jsp技术
  Shell编程技术
  Perl 编 程
  Python 编 程
  XML/Web Service 技术
  永远的Unix
  FreeBSD世界
   
Why Python? Speed!
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)]
 
Subject: Why Python? Speed!
Author: psong    Posted: 2004-02-25 04:36    Length: 2,402 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]
Subject: 在美国Python进入了主流吗?
Author: panjunyong    Posted: 2004-02-25 11:06    Length: 533 byte(s)
[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在中国的明天。我想看看未来 ;-)
----
CZUG, 中文Zope用户之家!
http://www.czug.org
[Original] [Print] [Top]
Subject: Re: 在美国Python进入了主流吗?
Author: psong    Posted: 2004-02-25 12:34    Length: 540 byte(s)
[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]
Subject: Re: 在美国Python进入了主流吗?
Author: lonecat    Posted: 2004-02-27 23:27    Length: 156 byte(s)
[Original] [Print] [Top]
The Information Industry of China is controlled by big companies like M$.
----
Windows非常非常好用 不过我用Linux 因为我喜欢...
[Original] [Print] [Top]
« Previous thread
webwear起步问题:
Python 编 程
20
Next thread »
我的Blog,欢迎访问
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
备案序号: 京ICP备05006143    webmaster: webmaster@unixresources.net
This page created on 2008-07-17 04:11:43, cost 0.03869104385376 ms.