Thursday, December 29, 2005

Tech: Rant - Stupid Programmers

I expect open source code to be crappy but it just keeps on surprising me with how bad it is. I am quite anal retentive, it's either all or nothing, whether it comes to life or source code, but particularly source code.

I am currently working on setting up cross compiling on my Freebsd box so I can have a unified programming environment. I also am getting into embedded programming and need to be able to compile for various processors and gcc is wonderful in this respect. But you programming ignorant people out there have no idea how brain dead the gnu development tools autoconfig and automake are. Mix in the ignorant programmers trying to use them and you might get part of the picture.

Case in point. GCC itself wants to compile it's Gcclib library. This is a library which modules use to access OS dependent functions such as exception handling and threads but that's neither here nor there. Why it isn't considered part of the runtime I'll never figure out. But in order to compile this Gcclib library and finish compiling the compiler you need the OS and runtime libraries. But to compile them you need a working compiler! Brain dead. To throw even more fuel onto the fire, the mingw32(windows) platform, which is one of the platforms I'm targeting, has a separate runtime and OS libraries that depend upon each other!!! People, this is the equivalent of a surgeon leaving medical instrument inside a patient after a surgery. I'm am convinced that the people composing these programs and libraries don't even bother compiling them to see if they work.

No comments: