UnThreaded | Threaded | Whole Thread (11) | Ignore Thread Prev | Next
Author: rmhj Big gold star, 5000 posts Old School Fool Add to my Favorite Fools Ignore this person (you won't see their posts anymore) Number: of 1648  
Subject: Re: Rare bird Date: 12/12/2011 11:24 AM
Post New | Post Reply | Reply Later | Create Poll . Report this Post | Recommend it!
Recommendations: 0
The machine also had a single cycle button and we got up to the offending instruction, and single cycled through it and saw it happen. I pulled out the wiring diagram of the computer, figured out what had to be the problem, and replaced a transistor on a circuit board to fix it. My boss was amazed because he thought I was only a programmer.

In the last twenty years, I've found more problems in h/w than in software, which I suppose says good things about the compilers. The regression test suites have gotten very good, I think, and apparently are very effective.

For hardware errors, I've seen one where a return with four consecutive 1 bits in the return address would fail. I've seen another where running a memory test of my own authoring would power down the processor -- but only if run on all four CPUs.

As you say, however, the biggest "problem" with optimizers is that what they do with incorrect programs is undefined. Fortunately, the compilers and optimizers have gotten much better in that respect as well, with compilers now doing considerably more analysis than 'lint' and similar programs used to do. They're good at finding uninitialized variables, resource leaks, &c, although they tend to generate a lot of spurious warnings.
rj
Post New | Post Reply | Reply Later | Create Poll . Report this Post | Recommend it!
Print the post  
UnThreaded | Threaded | Whole Thread (11) | Ignore Thread Prev | Next

Announcements

Pencils of Promise - Back to School Drive
"Pencils of Promise works with communities across the globe to build schools and create programs that provide education opportunities for children."
Managing Your Wealth
Our own TMFHockeypop from Rule Your Retirement fame on the TV show Managing Your Wealth.
When Life Gives You Lemons
We all have had hardships and made poor decisions. The important thing is how we respond and grow. Read the story of a Fool who started from nothing, and looks to gain everything.
What was Your Dumbest Investment?
Share it with us -- and learn from others' stories of flubs.
Community Home
Speak Your Mind, Start Your Blog, Rate Your Stocks

Community Team Fools - who are those TMF's?
Contact Us
Contact Customer Service and other Fool departments here.
Work for Fools?
Winner of the Washingtonian great places to work, and "#1 Media Company to Work For" (BusinessInsider 2011)! Have access to all of TMF's online and email products for FREE, and be paid for your contributions to TMF! Click the link and start your Fool career.
Advertisement