In Computer Science school, you spend a lot of time writing little programs that express some new concept, and are easy to code up in a text editor like VIM. This is fine with me as it suits my tastes. I like the 70s retro computer style. However, one thing this computer science school hasn’t done much of is give us bigger projects with lots of files to manage, until now. I just spent the last two hours getting my project all broken up into .cpp and .hpp files, and loading them into the IDE I’m using, which is Visual Studio 2010. I think it’s a pretty cool tool, though I can imagine a few Linux fanboys who will be de-friending me about now. Sorry Noah. People I know that are working on big real world code projects always say that beyond a certain size of project, it’s just better to use an IDE, and I suppose today I found that threshold for me.
The other barrier that I passed today was getting boost::asio to work on Windows 7. It worked effortlessly on my Debian EC2 server, but getting it rolling on my laptop was a real pain, all kinds of harsh lessons about boost and linkers had to be learned before I got it working. But now it works. I will add that I think the asio guys have totally lost their minds and gone over the C++0x wall, operating in an increasingly erratic manner. Functions? Forget it, now we only use functors. Loops? A thing of the past, it’s recursion or nothing. One nice thing about dealing with boost a lot is that no one is going to knock off style points if you start ripping them off. These dudes are 100% by the book, though my eyes tend to cross when reading stuff like boost::asio::ip::tcp::resolver::query query and boost::asio::ip::tcp::acceptor::reuse_address(true).
Four weeks to go.
And, scene.

0 comments:
Post a Comment