24 Jul 2001 jonabbey   » (Journeyer)

Doing some C hacking tonight, trying to write some SETUID shims to allow a PHP script to do some root-privileged file management stuff safely. setuid, chroot, all that rot.

And, my god, I had forgotten how horrific it is to program in C. I can't believe I wrote 50,000 lines of this crap working on GASH back in the day. It is just mind-bendingly awful to have to come back to this after having been working primarily in Java for the last five years. I do have a pretty decent sized library of C functions that I wrote eight years ago that I can use to build on, but I am appalled, now, at the primitive state of C when it comes to elementary string functions, memory management, etc.

My esteem for the Linux kernel hackers is much, much higher now, for seeing once again the pathetic state of the tools that they are working in. That goes for the rest of you C hackers out there in advogoto land as well.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!