Introducing the 'gin' library
03 May 2015 · Memory Allocationgin aims to be a playground for high performance C++ ideas all under the MIT license. gin is currently empty but it will not remain so for long!
Nicholas Frechette's Blog Raw bits
gin aims to be a playground for high performance C++ ideas all under the MIT license. gin is currently empty but it will not remain so for long!
In the AAA video game community, it is common to reimplement containers to fix a number of deficiencies. EA STL being a very good example of this. You can find a document here that explains in great detail the reasoning behind it. Some of the points are a bit dated and have been fixed with C++11 or will be fixed in C++14. I will not repeat them here but I will add some of my own.
Very often, C++ interviews ask about the virtual table: how it works, how is it implemented and the tricky bits around constructors & destructors. However, rarely are the following questions asked: why is it the way it is and are there alternatives?
The art of writing fast software is subtle and ever changing. Fundamentally, it is all about where your data comes from and how you access it.
The modern computers of today are an amazing and complex creation. From the smallest cellphones up to your super charged desktop PC, each and everyone of them is in reality a mixture of many smaller specialized computers working in concert.