A Close Look at a Visual Studio 2015 Generated V-Table (C++)

As I mentioned in an earlier blog post on analyzing disassembly, it's sometimes really helpful to know what exactly is happening at the machine level of C++ code I write. This includes knowing how the vtable works.

Here's a really simple class structure for the sake of investigation. We have an in…

Date: January 17th, 2017 at 3:44pm
Author: Terence Darwen
Tags: C++, virtual function table, vtable, Visual Studio 2015, Sabbatical

Rereading Classic C++ Books

Last month I'd been looking for books to help me get better at C++ template metaprogramming. The book "Modern C++ Design" by Andrei Alexandrescu continually came up in searches. I originally passed on it since it was written in 2001.

I was hoping to find a book written post-C++11; a book that inco…

Date: January 8th, 2017 at 9:33pm
Author: Terence Darwen
Tags: Book Review, C++, Reading Material, Sabbatical

Analyzing Disassembly of C++ Executables

Sometimes it's really useful to be able to see exactly what's happening behind the scenes of the C++ code I write. I've been spending some time on my sabbatical doing this.

One thing I sometimes do is check the results of compiled template metaprogramming code. This is code that generates results…

Date: December 28th, 2016 at 3:04pm
Author: Terence Darwen
Tags: C++, Assembly Language, Assembly Code, Disassembly, Sabbatical

Thoughts on "Scrum: A Breathtakingly Brief and Agile Introduction"

I really like a lot of the ideas behind scrum and agile principles in general. I've made it a point to devote some of my time during this sabbatical to educating myself farther in these topics.

I was recently browsing through books on agile when I came across "Scrum: A Breathtakingly Brief and Agil

Date: December 12th, 2016 at 9:55am
Author: Terence Darwen
Tags: Book Review, Scrum, Agile, Chris Sims, Hillary Louise Johnson, Reading Material, Sabbatical

My Tiva Launchpad Simple Drum Machine

I've completed my next Tiva LaunchPad project. I created a simple drum machine. Press a button and an audible 8-bit drum sample is played back. A video explaining and demoing it is below. A link to the C program I wrote which runs on the LaunchPad is given below as well.

If you're inter…

Date: November 26th, 2016 at 12:28pm
Author: Terence Darwen
Tags: Embedded, Tiva LaunchPad, TM4C123G, ARM-Cortex-M4, Drum Machine, Sabbatical