I've taken a break for C++ code for a little while. It's been nice. As I get older, I find that spending too much time coding really wreaks havoc with my neural pathways. Specifically, it exercises linear thought in my left hemisphere and stifles my right hemisphere. It also impacts my mood in negative ways...
That said, I still have to write code and I have this two-years legacy of C++ that I need to add some functionality to. Nothing too tricky. However, I left the code with a nasty bug lurking about. It was taking me several hours to replicate the bug in the debugger. Despite essentially rewriting major sections of code where the bug appear, it's still out there. Maybe it's a collection of bugs...
I was actually hoping to do a total rewrite in Java or some language with more structured memory management but that's not happening soon enough. So I'm going to download an evaluation copy of GlowCode and see what it says...
2 comments:
My recommendation for smart pointers, ala Boost, still stands. I'd hate to see you go to Java, and all the pain that that entails, just 'cause of that.
The reason for Java goes beyond the memory issues. I need this code to talk OGC WFS which is SOAP protocol. I can either write my own WFS layer or hook into an existing server. The existing servers are in Java.
I might look again at Boost but I'm trying not to introduce too much into the code at this point. And the Java rewrite would be done by someone else.
Post a Comment