• GCC in C++

    It is time to start using C++ in gcc. gcc was originally written in C. C++ has now advanced to the point where we can reasonably take advantage of the new features that it provides. The most obvious advantage would be in data structures. gcc implements data structures which are awkward to use for different…

  • Linker combreloc

    The GNU linker has a -z combreloc option, which is enabled by default (it can be turned off via -z nocombreloc). I just implemented this in gold as well. This option directs the linker to sort the dynamic relocations. The sorting is done in order to optimize the dynamic linker. The dynamic linker in glibc…

  • GCC Garbage

    gcc uses garbage collection internally during the course of a compilation. I wasn’t too involved with gcc at the time that garbage collection was introduced, but I certainly saw the problems that it was trying to solve. Before garbage collection, gcc allocated memory using obstacks. An obstack is a memory allocation pool in which if…

  • Raise the Gas Tax

    I see that both McCain and Clinton are suggesting that the gas tax should be abolished for the summer. Obama is resisting that, though he voted in favor of a similar proposal back in 2000 as a state senator. Dropping the gas tax would be hideously irresponsible. The U.S. must start weaning itself off of…

  • Moving

    I just completed my eighth move in nine years, which is why the blog has been neglected. We still have lots of book boxes to unpack, so it may take me a few days to become dependable again. When possible, I prefer to move much of the stuff myself, to have time to put things…