Reputation
13,102
Next privilege 15,000 Rep.
Protect questions
Badges
5 30 46
Newest
 Nice Answer
Impact
~405k people reached

Aug
13
comment Why do some software packages have an “amd64” suffix for 64-bit systems?
@TMN: Actually, moving instruction scheduling into the compiler IS a good idea. It simplifies the frack out of the silicon if you can throw away the gadgets needed to stall instruction until the operands are available. It also removes the need for the silicon to have all the smarts necessary to do the reordering in the first place.
Aug
13
revised What do other languages offer when it comes to infrastructure technology that could indicate its advantage over C in the future?
Change "ADA" to "Ada". Ada is a programming language, named for Ada Augusta, Countess Lovelace. It is not an acronym.
Aug
13
comment Sort an array in a specific order - not ascending/descending
That'll work. The key is that the current tree node defines one endpoint of a fully-closed interval, and either the left or right child defines the other endpoint of the interval. The closest value will be found somewhere in that interval. Actually, it will either be the current node, the child, or somewhere in subtree "between" the node and child. (I.e., in the subsequence between the node value and the child node value, in an inorder traverse.)
Aug
8
answered Source code “prints” at release
Aug
7
answered Lead Developer responsibilities
Aug
7
revised What does 'between' and 'in range' mean in the world of numeric types?
clarification of "open" and "closed"
Aug
7
answered What does 'between' and 'in range' mean in the world of numeric types?
Aug
3
comment Does modular programming affect computation time?
@detly: Yes and no. Modern compilers can IN GENERAL do a better job WITHIN THE LIMITS IMPOSED BY THE LANGUAGE. The human programmer knows whether the limits imposed by the language are applicable in the particular case at hand. For example, Cn and C++ compilers are required by the language standards to allow the programmer to do certain very pathological thing, and generate code that works anyway. The programmer may know he isn't crazy or stupid or adventurous enough to do those things, and make optimizations that would otherwise be unsafe, because he knows they are safe in this case.
Aug
1
comment Find pattern in a string
It is an interesting comment on the state of education in this field that, out of the first five answers posted, NOBODY mentioned the Boyer-Moore string search algorithm.
Jul
31
comment When is the register keyword actually useful in C?
It is not always possible to "just get a faster chip and get the product out the door". Consider real-time image processing. 640x480 pixels/frame x 60 frames/second x N instructions per pixel adds quickly. (The lesson from real-time image processing is that you sweat blood over your pixel kernels and you just about ignore everything else, because it runs once per line or once per patch or once per frame, as opposed to hundreds of times per line or patch or tens or hundreds of thousands of times per frame.)
Jul
30
comment Does modular programming affect computation time?
@Kevin: You'd think new programmers would understand that embedded is different. In the real world, however, they frequently don't.
Jul
29
comment When is the register keyword actually useful in C?
4 MIPS / 10,000 polls/sec = 400 instructions/poll. That's not nearly as much margin as you'd like to have. Also note that quite a few 4 MHz processors were microcoded internally, meaning that they were nowhere near 1 MIP/MHz.
Jul
29
awarded  Nice Answer
Jul
29
answered choice of design for OO-linear algebra library
Jul
29
revised Does modular programming affect computation time?
deleted 10 characters in body
Jul
29
answered Does modular programming affect computation time?
Jul
26
comment Why does DirectX use a left-handed coordinate system?
-1 for ignorance. The right-hand convention comes from physics and mathematics, specifically the vector cross product operation, which is fundamental to electromagnetic field theory and to mechanics. Computing adopted it because the original use of computers was to crunch numbers.
Jul
26
answered Licensing code “not for reuse”
Jul
24
comment Why does DirectX use a left-handed coordinate system?
It is an arbitrary choice only if you do not have a clue what the rest of the world is doing, that the rest of the world has de facto standardized on right-handed coordinate systems for graphics.
Jul
23
answered What should I do if I don't have any formal spec?