Circular Buffer

Circular Buffer

From time to time,there is a need for dynamic buffer usage inside an application. One of the simple methods is just allocating and deallocating memory. This is however time consuming and leads to heap fragmentation, which continuously degrades performance. A good...
Fast Integer Modulus in C++

Fast Integer Modulus in C++

Quite recently, I was benchmarking one of my favorite algorithms. I was trying to optimize it for speed and performance. What I found quite interesting are 3 facts: First of all, thank god for the beautiful and well done work on Microsoft Visual Studio 2017. I have to...
Templated Kiss FFT for C++

Templated Kiss FFT for C++

I have been recently searching for a viable FFT library for my own development. There are libraries such as the FFTW, but they have their limitations – the GPL licence (General Public). This means, you are unable to use it in your own application unless you...
Rooting WileyFox Swift

Rooting WileyFox Swift

I have recently purchased a brand new phone as a replacement for my old Nokia C7, which worked pretty good for the past 6 years. I have decided to go for android because I already own an android tablet (Nexus 7 2013). Over the few years with android, I realized, that...
Filter Library for C++

Filter Library for C++

There isn’t much C++ libraries available on the Internet. Especially when talking about signal processing (Or at least I was unlucky to find some). Therefore I have designed my own library with the following parameters: Supported Filter types: Low-Pass,...
Detecting cuda memory errors

Detecting cuda memory errors

Debugging CUDA is not an easy task. Even simple kernels calls can cause a lot of trouble and headache. Especially when working with the shared memory on the device. Quickly written standard indexing functions are the very first source of most problems along with...