@yglukhov: glad you liked it. In a couple of weeks when I'm unblocked from editing, I'll remove or change a few links and try my answer again, as it seemed to be good:. It showed that the task didn't need C++ to do the job on a Intel i3-8100 or i3-9100 as the right algorithm (mine ;-) ) can do it in JavaScript, and if we use the same algorithm with a few extra tweaks made possible, an efficient native code producing language such as Nim can fulfill the task on the least expensive smartphone available.
I considered trying the approach you use in nimx (also couldn't one use a dynamic library as easily as a static one) for the reasons you give, but didn't do it because it seemed one would have to hard code the root location of the NDK in the make file. Or am I wrong? I might go back and try that.
