The purpose of Gateware is to create lightweight, multi-platform libraries that handle functionality common to video games. At the moment this includes keyboard and mouse input libraries and file logging libraries. The intent is for current and future students to be able to utilize these libraries to aid them in the creation of their final projects. The current deployments for the libraries are the Windows, Mac, and Linux platforms.
Tuesday, January 14, 2020
Seeing 20/20 with the New Architecture (Here comes GCollisionX)
I got the green light to port the currently incomplete GCollision library to the new architecture and it went smooth. It took about a day and I can say that both users and their device's memory that run the GMath library will be happy. Previously, the GMath libraries were all virtual functions and required you to instantiate the respected class in order to call its functions to operate on data. Now, you can just call the namespace to access these functions. In addition, this reduces the amount of overhead for the virtual function table. Another great change in this new architecture is users no longer required to free any G objects they had created. If the object falls out of scope then it goes, "bye-bye". Those are just a couple benefits that I've enjoyed in this new architecture, to begin with, and I'm sure there will be more.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment