Just for fun, I compared MySQL access times from several different languages. Python which is REAL popular these days, Free Pascal (An Open Source Object Pascal Compiler) and c (gcc).
Here are the results:
And from the point of view of Transactions per second
I was really kind of surprised how much better c did then Free Pascal. I did a comparison several months ago that showed c and Free Pascal performing much closer to each other, so I assume the Free Pascal Library needs some work. Also, I was surprised that by changing MariaDB from a my-small to my-medium I saw no improvement. Below is a chart from the sort comparison: