CS 371g Summer 2020: Michael Lee

What did you do this past week?

I finished and submitted my final project and homework for IOS Mobile Programming. I’m really glad that class is over with since it’s actually been a lot more work than I had initially expected it to be.

What’s in your way?

I need to start on the Deque project for this class and go through my backlog of tasks over the weekend. Overall, I’ve had a lot of stuff pile up throughout the week.

What will you do next week?

The Deque project looks like a lot of work so I’ll try to get as much as I can done over the weekend and finish the rest throughout the week.

What was your experience of vector and deque nature?

I thought it was interesting, I’ve actually gotten so used to how you have to use a list, the equivalent of vector, to emulate a stack in Python that it actually never occurred to me that deque would be a more efficient underlying class due to the usage pattern.

How are you doing and holding up? What’s been most helpful for you in terms of support at this time?

Not so great to be honest. I keep thinking every week has been my busiest yet, but the next one always proves me wrong.

What made you happy this week?

I’m finally done with my other summer class which takes a decent amount of weight off my shoulders.

What’s your pick-of-the-week or tip-of-the-week?

My pick of the week is definitely going to be tcmalloc. I recently had to deal with a problem where a C++ job was using massive amounts of memory, ~100gb, and needed to track down what components were eating up the most memory for the purpose of optimization. At first, the only applicable tool I could think of was Valgrind but that would incur too great of a slowdown to be practical. Instead I came across TCMalloc which was very easy to integrate (you only need to add a compile flag) and generates very nice snapshots of heap utilization over time to help you track what’s using up your memory.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store