C/C++
Optimizing memcpy Routines
First let’s understand what the problem is. Memcpy copies memory one byte at a time. Which is fine as long as you don’t have a lot of memory to copy. If you find yourself needing to copy large chunks of Read more…
First let’s understand what the problem is. Memcpy copies memory one byte at a time. Which is fine as long as you don’t have a lot of memory to copy. If you find yourself needing to copy large chunks of Read more…
I was recently tasked to develop a system that would need to write data in the Gigabytes per second range directly to disk. While doing so, I needed to spec out and build a machine that allowed for that type Read more…
Often times JavaScript coding you’ll find yourself creating a loop and at some point in time doing some form of conditional statement. Conditions in loops have a heavy impact on the speed in which JavaScript will execute. Especially when the Read more…
By utilizing the var keyword as a literal, pseudo structures or pseudo namespaces can be created. JSON/Pseudo Structures: All members and methods within a pseudo structure are public. The psuedo structures are non-instantiable. To access a member of a pseudo Read more…
Singletons are quite effective when it comes to needing only a single instance of a class or object instanciated, regardless of when or who creates it. Let’s start by creating a basic class that we will later turn into a Read more…
Many developers have really pushed the limits of JavaScript development. Most advancements have been geared toward business applications, but what about the fun stuff. What about doing it just for the challenge or perhaps, for gaming. So let’s develope a Read more…