Pain/Gain Thresholds in Software Engineering

June 30, 2006, 01:20 PM —  ITworld.com — 

When I am down in the bowels of a software development project, I can easily spend 50 hours a week pounding at a keyboard. My wife tells me that when I am doing that, I wear a permanent look of complete puzzlement on my face.

That is what software development is all about. A constant mental struggle to find solutions to problems and a simultaneous physical struggle to get those solutions transplanted into computers with the aid of keyboard and mouse.

Like most of my artisan kith and kin, I could do without the 50 hours at the keyboard. I like to type as much text as I have to type - and no more - to get my thoughts transferred. It is one of the reasons why the expressive power and the diagnostic power of computer programming languages are so fascinating to me. Anything that involves me typing less or reading less "stuff" in order to get machines to do my bidding, the better.

All the writing and reading that goes with software development is a pain. In return for that pain, there is a gain. Namely, you can get computers to do interesting things. When pain and gain meet, you have a threshold - a pain/gain threshold. That threshold moves location from software developer to software developer and from era to era.

Take the Seventies for example. Back then, personal computers were so slow that developers had no choice but to program as close to the metal as possible. This involved a lot of typing and a lot of reading of so called "assembly language". It was a pain but the gain - applications that could run on these early computers - was worth it.

A little later, into the Eighties, personal computers became faster. Developers found that they could program a bit further from the metal - in the C programming language for example - and still produce a good application. The pain/gain threshold moved. It was no longer clear that the pain involved in programming each individual instruction to the computer directly was worth the associated gain.

A little later, personal computers became faster still. Developers found that they could program at a level higher than C - in Java and C# for example - and still produce a good application. The pain/gain threshold moved. It was no longer clear that the pain involved in managing memory allocation/de-allocation in the application directly was worth the associated gain.

A little later - about 2008 or so - personal computers became faster still thanks to the introduction of multiple processors on each chip. Developers found that they could program at a level higher than Java and C# - and still produce a good application. In fact, thanks to the design of these chips, they had no option but to change the way they wrote programs in order to take advantage of the power available to them.

The pain/gain threshold moved. It was no longer clear that the pain involved in managing threads in the application directly was worth the associated gain....

Hang on! This is 2006. I have ended up in the future with my historical analysis. How silly of me. I have introduced an era change in 2008. Still, looking forward to 2008 from 2006, it seems plausible to me. Direct thread programming to give way to higher level approaches the same way that direct memory management gave way to higher level approaches?

I suspect so. As anyone who has written any thread-based programs will tell you, there is a lot of pain you need to go through to get the performance gain. If that pain is high enough -- and I strongly suspect it is[1] -- a new era will dawn.

[1] http://www.eecs.berkeley.edu/Pubs/TechRpts/2006/EECS-2006-1.html

ITworld.com

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Where Google Chrome security fails: the password
I heard mention that the Chrome OS will have some sort of encryption available a la bitlocker. If it's possible to encrypt personal data using another password or key, then it may have potential for very secure data.... And Ubuntu has an 'encrypt home directory' option, perhaps google should follow suit.
- Dann

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace