-
GCC Inline Assembler
GCC’s inline assembler syntax is very powerful and is the best mechanism I know of to mix assembly code and optimized C/C++ code. It lets you take advantage of assembly features like add-with-carry or direct calls into the kernel without losing optimizations. I don’t know of any other approach which supports that. That said, the…
-
Iraq
These are things I wonder about Iraq these days. Things are clearly improving in that fewer people are being killed. How much of that is due to completion of religious cleansing of neighborhoods? How many mixed neighborhoods remain? How many people are returning to Iraq from abroad? At one time millions of Iraqis had left.…
-
The Golden Age
My father’s father bought a new car every year. He and my grandmother had two cars. Every year he traded in the older one and bought a new one. There were two car dealerships in town, and he alternated each year. One measure of the wealth of a society is what it can afford to…
-
Multi Debugging
Many programs these days are written using multiple threads, multiple processes, and multiple languages. Our current debugging solutions don’t cope particularly well with any of those. gdb supports multiple threads. However, the interface is hard to work with. You have to select which thread you want to look at. Threads are referred to using numbers…
-
Planes on the Plains
All the major U.S. airlines, other than Southwest, are losing money, mainly because of high oil prices (Southwest is an exception because they cleverly hedged their oil purchases). The airlines have been cost cutting for years; I assume that they can’t run their services significantly more cheaply than they do today. Therefore, on routes which…