blogs
Loop Unrolling
Submitted by Walter Banks on Thu, 2008-04-24 14:01. C languageThis is the start of an interesting discussion on loop unrolling as a compiler optimization. I summed up our thinking on it:
Application code usually was very clear and almost always right
in their timing choice of straight line vs loop implementation. Rolling
up straight line code and unrolling loops more often than not
interfered with a conscience choice a developer made.
A volatile topic
Submitted by Kirk Zurell on Thu, 2008-03-20 15:43. C languageHere's an interesting writeup about the C keyword volatile.
CERT C Secure Coding Standard - last call for reviewers
Submitted by Walter Banks on Thu, 2008-03-20 15:22. C languageWe're reprinting a call for the C community to review the current version of the CERT C Secure Coding Standard. Secure coding is the practice of avoiding security exploits through more rigorous control of the sources, methods, and products of compilation.
CERT's wiki has a lot of well-thought-out information in it.
Subject: CERT C Secure Coding Standard - last call for reviewers
Date: Thu, 20 Mar 2008 10:02:10 -0400
From: Robert Seacord rcs@sei.cmu.edu
Organization: Software Engineering Institute
"Linguistic Variables: Clear Thinking with Fuzzy Logic" in Toronto
Submitted by Walter Banks on Mon, 2008-03-03 20:04. events | Fuzz-C | fuzzy logic | press releaseWalter Banks will be speaking on Fuzzy Logic in Toronto in May. The seminar will be held by the Signals and Computational Intelligence Joint Chapter of IEEE Toronto.
Wednesday, May 14, 2008, 6:00 p.m. – 9:00 p.m., location to be announced.
Our demos: odd setup issue
Submitted by Kirk Zurell on Tue, 2007-12-18 21:51. supportHave you tried to install one of our demos only to find a completely different setup program starts to run?
When is a branch not a branch?
Submitted by Kirk Zurell on Tue, 2007-09-25 19:45. C6808 | RS08 | tipsI recently got an interesting code sequence out of the compiler.
Neat XOR trick
Submitted by Kirk Zurell on Mon, 2007-09-24 13:20. tipsThis is a neat trick using XOR, the most mysterious of the logical operators. Best of all for embedded, it requires no temporary locations.
//swap two values in place
if(x < y)
{
x = x ^ y;
y = y ^ x;
x = x ^ y;
}
Et voila!
Fuzzy Logic zeitgeist, with statistics
Submitted by Kirk Zurell on Fri, 2007-06-29 15:34. Fuzz-C | fuzzy logicI decided to sift through the cache of alerts ... to get a better idea of the zeitgeist of fuzzy logic. ...[F]uzzy logic is familiar enough to be used intelligently or casually, and, it turns out, to be chronically misrepresented as well.

New: