while(motivation <= 0)

Back to the blog...
Adventures in C++ SDK hell
So two weekends ago I decided to try to get my twitch bot Raphael working on Windows. It didn’t take much to get it fired up, but I quickly discovered that the performance was terrible. In order to try and solve this issue I started investigating how difficult it would be to write portions of the bot in C++ to try and achieve the same or better performance over what I see in Linux. Asking ChatGPT made the prospect look to be within reach so I set about implementing Raphael in C+++. The rest of the first weekend was spent trying to get the AWS C++ SDK to compile and build. That following Monday I was able to get the SDK to build, but it never stopped complaining about parts of it being missing. This weekend I tried taking a step back and seeing about getting individual components to work. PortAudio which is the leading solution for working directly with Audio with C++ was no trouble at all. I then landed right back with my new nemesis the AWS C++ SDK which even with all of the examples available, I haven’t been able to get any piece of the AWS SDK working. This was quite a surprise as the boto3 aws sdk for python is fabulous and works right out of the box with barely any set up. I’m not sure if this project is beyond my skills and patience but more investigation is needed. Everything I’ve come across for working with c++ requires you to build, compile, and implement the references in CMAKE which has had quite a bit of a learning curve.