473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

funny slashdot quote regarding python 2.3 release

suspect that most time-critical code is not written in python.

Depends on which time is critical: CPU time, or programmer time?

-jcr


Jul 18 '05 #1
4 1385
Guyon Morée wrote:
suspect that most time-critical code is not written in python.

Depends on which time is critical: CPU time, or programmer time?

-jcr


Not only funny, but also a very *sound* question.

From your development company's point of view: the programmer time.
From the customer's point of view: depends. Usually CPU time.
But programmer's time means longer realization times and usually
higher cost (unless the project is fixed-price).

And let's not forget that time-critical code can very well be
written in a high-performance C extension module.

--Irmen

Jul 18 '05 #2
>>>>> "Irmen" == Irmen de Jong <ir***@nl.homeip.net> writes:

Irmen> And let's not forget that time-critical code can very well
Irmen> be written in a high-performance C extension module.

We recently had a physicist visit to show us how to do some
calculations and analyses he had developed, and he brought with him a
bunch of FORTRAN code he developed to do the calculations. At first I
wrapped them with f2py (unbelievably easy!) but then just decided to
reimplement them in Numeric since they were amenable to array
processing. I found that the Numeric version was about 20% faster
than the FORTRAN, in part because there were some inefficiencies in
his hand coded FORTRAN routines.

Which emphasizes that it's often better to use a well tested,
optimized extension than to code it yourself in a compiled language.
Why reinvent the wheel when you've got a brand new Michelin tire
sitting in the garage?

JDH

Jul 18 '05 #3
John Hunter <jd******@ace.bsd.uchicago.edu> wrote in message news:<ma**********************************@python. org>...

Why reinvent the wheel when you've got a brand new Michelin tire
sitting in the garage?


Because you have a tyre and you don't have a wheel.
Jul 18 '05 #4
John Hunter wrote:
>>"Irmen" == Irmen de Jong <ir***@nl.homeip.net> writes:

I don't know where that came from but that is most definately
not my email address...
processing. I found that the Numeric version was about 20% faster
than the FORTRAN, in part because there were some inefficiencies in
his hand coded FORTRAN routines.

Which emphasizes that it's often better to use a well tested,
optimized extension than to code it yourself in a compiled language.


If it's available, and can do the job, I agree 100% with you.
This will also, in the end, very likely result in a shorter
development time because you are not writing from scratch.

--Irmen

Jul 18 '05 #5

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

Similar topics

0
by: Joe Francia | last post by:
In case any of you missed it, there is a very favorable review of "Text Processing in Python" over on Slashdot: ...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.5 (release candidate 1). Python 2.3.5 is a bug-fix release. See the release...
0
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.3.5 (final). Python 2.3.5 is a bug-fix release. See the release notes at the...
1
by: bearophileHUGS | last post by:
There is a discussion about "Python Moving into the Enterprise" on Slashdot: http://it.slashdot.org/it/05/04/03/0715209.shtml?tid=156&tid=8 Bearophile
5
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.3 (final). Python 2.4.3 is a bug-fix release. See the release notes at the...
3
by: sophie_newbie | last post by:
Hi, I want to store python text strings that characters like "é" "Č" in a mysql varchar text field. Now my problem is that mysql does not seem to accept these characters. I'm wondering if there...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
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...

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.