A brief tutorial on various ways to communicate between two processes, one running as a full system process authored in C/C++ and another running on a JVM.
I’ve found that there were very few if any full tutorials and examples for GNU Flex and Bison (even on the GNU website). In the course of developing a compiler, I created a basic example that counts works and characters (similar to the GNU word count utility) so that new users of Flex and Bison can quickly see how they work with C++. Feel free to fork the repo and create your own scanner/parser combination.
Timing software is a very common task in performance analysis but it is often done poorly. Course timings can be fairly easy, but often finer precision is necessary. This is where things get interesting and where this tutorial largely begins. NOTE: excuse the mess, I still need to convert this one to the new format.
This is an often needed, but widely mis-understood aspect when beginning programmers are first called upon to perform it. I skip such topics as the C ABI and focus solely on the semantics and calling style necessary to make C++ functions and objects callable from a C program. NOTE: excuse the mess, I still need to convert this one to the new format.