2. In C++ I can use lots of libraries. I’m thinking on data visualization libraries, for example http://www.graphviz.org/Gallery/undirected/softmaint.html. I’ve read that Ada can use some C bindings. Can I use any C library? Some? Is it easy? I don’t want to drop C++ for Ada to build a project that later has to be rewritten in C++ because of lack of libraries.
Actually, that was a bit more than just one question, but the general gist of it is: Can Ada bind to C/C++.
And of course the answer to this is a resounding “Yes!”.
I’d like to extent my thanks to Brian Drummond for coming up with the example in the first place, and Luis P. Mendes for bothering to add it to our Wiki. Thanks!
Now all we need is some Ada binding expert to peek it over to make sure the examples are sound.