Geeks With Blogs
Josh Reuben C++
Getting Started with OpenCV
Overview OpenCV is a Computer Vision / Image Processing library. It used in ffmpeg video processing / streaming and ROS robot operating system. you can install it from here: Modules in the lib directory: opencv_core - data structures , maths opencv_imgproc -image processing. opencv_highgui - image / video reading / writing opencv_features2d - feature point detectors , descriptors , matchers opencv_calib3d -camera calibration, 2-view geometry estimation, stereo opencv_video ......

Posted On Monday, February 23, 2015 3:39 PM

C++ Boost in a Nutshell
Beyond C++ and the standard library, and before you dive into the massive Qt ecosystem, you can expand your C++ repertoire by familiarizing yourself with the Boost libraries. Now a fair chunk of this has been absorbed into C++11 standard library, so I've taken the time to identify the remaining Boost components that will provide added value to modern C++ dev, and will most likely osmosize their functionality into C++17 ! The Redundant PartsIf you are not using GCC or LLVM as your compiler, then you ......

Posted On Monday, November 17, 2014 9:46 PM

Standard Modern C++ in a Nutshell
Modern C++ Coding Style This post is based upon the standard - not supported with VC compiler ! Try these techniques using GCC / LLVM compilers and QtCreator / CLion IDEs Avoid C programming style idioms = rather than strcpy() for copying , == rather than strcmp() for comparing use const , constexpr functions rather than #DEFINE, macros Avoid void*, unions, and raw casts (use static_cast instead) use std:string instead of char* avoid pointer arithmetic To obey C linkage conventions, a C++ function ......

Posted On Wednesday, October 8, 2014 7:53 AM

C++ Unit Testing with GoogleTest
Unit testing is critical for quality code – they help you: find problems early facilitate change by avoiding breakage of other functionality simplify integration via a bottom up approach document the code maintain good design – testable code is good code: single intent, clear retval etc Google has created a unit testing framework for C++ : I downloaded Google Test from and built the solution under the msvc folder ......

Posted On Monday, January 28, 2013 12:24 PM

I didnt know how to do that in C++ !
I've been reading through the C++ Cookbook (an oldie but a goodie – I assume that 99% of C++ out there is not modern C++, and modern C++ does not mean you don’t need to be able to grok templates, pointers etc – you may need to port something, or use a 3rd party lib) Anyway, reading through stream manipulators, from my understanding this is how you pass a generic 'delegate' into a constructor & invoke it: template<typename T, typename C> class ManipInfra { public: ManipInfra (basic_ostream<C>& ......

Posted On Thursday, January 10, 2013 6:31 AM

Low-Latency High-Performant Financial App Infrastructures
Financial Apps feel the need for speed – this can come via parallelization, and via infrastructure - fast messaging and non-blocking distributed memory management. This blogpost gives an overview + examples of various technologies that can squeeze performance out of your trading apps and clock cycles out of your modeling apps. Low Latency via Infrastructure ZeroMQ · ZeroMQ is a messaging library - ‘messaging middleware’ , ‘TCP on steroids’ , ‘new layer on the networking stack’. not a complete messaging ......

Posted On Monday, March 26, 2012 9:05 PM

Direct3D 11 Programming in a Nutshell
Programming Direct3D requires understanding of where different types of resources are bound to the shader pipeline. The shader pipeline consists of configurable fixed function stages (Input Shader, Tessellator, Stream Output, Rasterizer, Output merger), and opt-in HLSL programmable shader stages (Vertex Shader, Hull Shader, Domain Shader, Geometry Shader, Pixel Shader, Compute Shader). Passing data into shaders involves creating & binding resources to the pipeline in C++ on CPU, so that HLSL ......

Posted On Wednesday, March 14, 2012 10:28 AM

Overview C++ AMP is a GPGPU API – it allows you to define functions (kernels) that take some input, perform an expensive calculation on the GPU and return the output to CPU. GPU supports fast calculative operations across many SIMD-like cores - NVidia Tesla supports 512 cores compared to the paltry 10 cores available on the CPU today - even Intel's Knights Corner will only support 60 cores next year. Suitable only for certain classes of problems (i.e. data parallel algorithms) and not for others ......

Posted On Sunday, December 4, 2011 8:20 AM

Post-Build C++ Skill Rebuild
· For the last decade, the majority of my dev work has leveraged the .NET Framework for construction of information systems. However, my interest has lain in numerical computing. · Is it possible to have an increasingly higher level of abstraction and at the same time achieve underlying high performance computing? The prevailing winds say no: C# is aimed at productivity, and C++ is for performance. Garbage collection was great, but do we still need it with the availability of smart pointers? Would ......

Posted On Saturday, October 29, 2011 9:59 PM

Copyright © JoshReuben | Powered by: | Join free