How to use C++ for Cross-Platform Development

My current line of work revolves around an app that runs on four platforms – Android, iOS, macOS and Windows. It’s core code base is written in C++ and it uses Objective-C (on iOS and macOS) and Java (on Android) to access native APIs. I wanted to share some tips and tricks that I’ve accumulated …

Case against single line if statements

… in curly bracket languages. I’ve always said – using single line ifs is dangerous, because a junior (or even a seasoned) developer might make a mistake and add an extra line of code which will not be executed in the if block. I was watching this presentation of Kevlin Henney about Structured Programming – …

Restart/Reiterate Everything. Voila the Long Mode!

It’s been a month – pretty long vacation away from my most beloved hobby, but I’m just a human, I have my needs. I like snowboarding, so I went to Austria and did a proper powder riding. I’m still playing in the band, and I did a few gigs here in Riga. And last but …

My OS MinGW cross-compiler

I’m still testing out a few options of cross-compilers. This time I’ve built a MinGW cross-compiler for i786 ELF format binaries. As I’ve been pointed out – MinGW does not have any dependencies on external libraries (like Cygwin) and it does not have problems with DOS paths (like Cygwin, which I could not force to …