Writing Ada Bindings To C Libraries

Today I found a great new website: flyx.org. It is the personal website of Felix Krause and on this website I found a gem of Ada programming magic:

It is a great article if you want to get into the art of binding to C libraries:

This article gives an overview over problems, solutions and guidelines for writing an Ada binding for a C library. It summarizes experiences I made while implementing OpenCLAda and OpenGLAda. Code examples are taken from those projects.

The Ada code examples shown here are written in Ada 2005. Note that you can import C functions somewhat nicer in Ada 2012.

Since I’m a complete binding virgin, I would like to personally thank Felix Krause for writing this article. I’ve learned A LOT from reading it. I also added the article to the Ada-DK wiki Resources page.

The February 2013 Open Ada-DK Meeting

February 5th. 2013 from 1730 -> ? marks the day and time when the twenty-seventh open Ada-DK meeting is being held.

The “open” part means that the meeting is not a members-only affair, but that anybody interested in Ada is welcome, so feel free to invite whomever you might believe could be interested in spending an evening talking about Ada programming.

If you’re interested in participating, feel free to send us an email and we’ll inform you of the when and where. The meeting is of course free.

New Articles Added To Our Wiki

First allow me to apologize for the quiet of lately. I’ve been very busy these past months, so Ada programming news has been left to flounder. I can’t guarantee anything, but I will try my best to get the Ada-DK news-stream flowing again.

With that out of the way, lets move on to more important matters: The two new articles that has been added to our wiki:

The author of both articles is our very own Jacob Sparre Andersen. I’d just like to say this one thing: YAY! It’s always great when more authors join the wiki effort.

And remember: Don’t be shy if you spot errors or if you’d like to add something to the articles; it is a wiki after all, so pitch in if you like.

The January 2013 Open Ada-DK Meeting

January 8th. 2013 from 1730 -> ? marks the day and time when the twenty-sixth open Ada-DK meeting is being held.

The “open” part means that the meeting is not a members-only affair, but that anybody interested in Ada is welcome, so feel free to invite whomever you might believe could be interested in spending an evening talking about Ada programming.

If you’re interested in participating, feel free to send us an email and we’ll inform you of the when and where. The meeting is of course free.

A New Ada Programming Community

If you’re not already at Google+, now might be a good time to sign up, since a new Ada programming community has been started there. At the time of writing we’re up to a solid 40 members. We have both discussion and news categories, so feel free to sign up just to promote your own projects. Those of us who use Google+ heavily would enjoy having Ada readily available, and both Ada and your project will benefit from the link exposure.

So come one, come all and help turn this community into a lively place.

The December Open Ada-DK Meeting

December 4th. 2012 from 1730 -> ? marks the day and time when the twenty-fifth open Ada-DK meeting is being held.

The “open” part means that the meeting is not a members-only affair, but that anybody interested in Ada is welcome, so feel free to invite whomever you might believe could be interested in spending an evening talking about Ada programming.

If you’re interested in participating, feel free to send us an email and we’ll inform you of the when and where. The meeting is of course free.

Note that this meeting is a bit different from the previous meetings, as our very own Jørgen Bundgaard has promised to give us his “ATV Flight Application Software Command Checker (FCC)” presentation.

The November 2012 Open Ada-DK Meeting

November 6th. 2012 from 1730 -> ? marks the day and time when the twenty-fourth open Ada-DK meeting is being held.

The “open” part means that the meeting is not a members-only affair, but that anybody interested in Ada is welcome, so feel free to invite whomever you might believe could be interested in spending an evening talking about Ada programming.

If you’re interested in participating, feel free to send us an email and we’ll inform you of the when and where. The meeting is of course free.

The October 2012 Open Ada-DK Meeting

October 2nd. 2012 from 1730 -> ? marks the day and time when the twenty-third open Ada-DK meeting is being held.

The “open” part means that the meeting is not a members-only affair, but that anybody interested in Ada is welcome, so feel free to invite whomever you might believe could be interested in spending an evening talking about Ada programming.

If you’re interested in participating, feel free to send us an email and we’ll inform you of the when and where. The meeting is of course free.

AdaTutor on the Web

Qunying Zhu, the man behind the blog Z’s space, have started the momentous task of moving the AdaTutor program created by John Herro and Karl Nyberg to the web.

AdaTutor is an Ada 95 tutorial program written by John J. Herro. It has been placed into public domain by John. It is a great tutorial although it only touches on Ada 95 and does not contain information for Ada 2005 and 2012.

Here I have the AdaTutor presented on this blog. You will still need to download the AdaTutor to fully making use of this tutorial, as some contents and assignment information are not in the tutorila directly.

If you want to run the tutor under Linux, this article AdaTutor – Running it in Slackware will give you an idea. Although it is mentioned for running it under Slackware, the procedure does not involve any distribution specific feature, it could apply to common Linux distributions with GNAT compiler.

AdaTutor @ Z’s space is good work, and I’ve promptly added it to the Ada Resources page at the Ada-DK Wiki. Of you’re new to Ada programming, then be sure to pay this excellent resource a visit.