The schedule for the Ada Developers’ Room at FOSDEM has been published on the FOSDEM website. There will talks about programming drones in SPARK, parallel computing (in Ada of course), controlling a train model from a Raspberry Pi, etc.
A few years ago, Ada become my hobby/tinker programming language of choice, for a number of reasons, concurrency being one of them. In this post I’d like to walk you through an example of dynamic task creation in Ada, which uses Ada.Task_Termination handlers, a new feature in Ada 2005.
The article is packed with neat little snippets of code for maximum entertainment value. It’s a good read if you’re interested in seeing Ada.Task_Termination in action.
Here’s hoping we wont have to wait forever before mr. Croy gets busy on his next Ada programming article.
Our very own Jacob Sparre Andersen is doing a course on Parallel Ada programming for sequential programmers at Open Source Days 2013:
Assuming you already know sequential programming in a procedural programming language, this course can get you started writing parallel programs using the Ada programming language.
Short and sweet. The course contents are as follows.
- A quick introduction to the basics of sequential programming in Ada. — Just enough to allow you to map your existing programming knowledge to Ada. 45 minutes lecture + 45 minutes exercises.
- Creating and understanding basic tasks (parallel threads of execution) with Ada. — I.e. parallel programming without interaction. 45 minutes lecture + 45 minutes exercises
- Communication between tasks using safe, shared objects. One kind of interaction between tasks. 45 minutes lecture + 45 minutes exercises
- Direct communication between tasks using rendezvous. — Another kind of interaction between tasks. 45 minutes lecture + 45 minutes exercises
- Patterns for implementing parallel execution. 45 minutes lecture
I’m so going. Next step: Getting an Open Source Days 2013 ticket.
I wrote a short article about concurrent Ada programming, and a mere handful of minutes after I put it online a reader had found a bug in it.
You gotta love the interwebz! 😀
It’s definitely an article for beginners, and I do plan on adding it to the Ada-DK Wiki as soon as possible. Feel free to let me know what you think about it, and don’t hold back on suggestions for improvements.