JSA Research & Innovation


Submission deadline for Ada-Europe 2017 extended to 22 January

The submission deadline for Ada-Europe 2017 in Vienna has been moved to 22 January. As industrial chair for the conference, I seek presentations which deliver value and insight on industrial use of Ada and reliable software technologies in general. Industrial presentations are submited as one-page extended abstracts. Feel free to contact me, if you have any questions regarding this.

POSIX in Ada

A course introducing the participants to systems programming in Ada using the POSIX Ada API. An extended version of this course has previously been given as a part of the software engineering education at DMU-Syd.

Ada as a Second Language

A course introducing experienced programmers to The Ada Way.

Interview (in Danish)

I recently gave an interview to the journal of the Danish academics' union about being an academic and running your own company. I don't reveal any big secrets to success, but the photos from the Medical Museion in Copenhagen are nice.

Ada 2012 Contracts in Practice

The Ada-Europe 2016 organizers have accepted my tutorial on Ada 2012 contracts in practics as a part of the programme for this year's international conference on reliable software technologies.

Ada Developers' Room at FOSDEM 2016

The Ada DevRoom at FOSDEM has been a big success. We will need a bigger room next year. The slides from the presentations can be found on the Ada-Belgium website.

What I did, when I got tired of writing command-line interfaces

The declarations of subprograms in the public part of an Ada package specification can be seen as a declaration of how you are supposed to call the features implemented in the package. So why should I have to write command-line interfaces myself? Why not let a tool translate between the Ada package specification and the command-line interface? [...]
I'm going to present this talk at FOSDEM 2016 (Saturday at 18.00 in AW1.124).
Slides and examples for the presentation are available now.

Generating integration tests from use-cases

Slides from my talk on using tools to generate integration tests from use-cases at Driving IT in Copenhagen.

Generazione di test di integrazione da casi d'uso

I gave a presentation on semi-automatic test-generation from use-cases at Linux Day 2015 in Cagliari. Slides and examples are available for download.

More SPARK 2014

Thanks to an interesting question on Stackoverflow, I got around to set up a repository for collecting SPARK 2014 examples.

Ada DevRoom at FOSDEM 2016

Earlier today the list of DevRooms at FOSDEM 2016 was announced. This includes an Ada DevRoom organised by Ada-Belgium. Please submit proposals for presentations to <adafosdem@ls.kuleuven.be>.

Ada User Journal 36.3 is out

I just picked up my copy of Ada User Journal 36.3 from my mailbox. I really look forward to read the paper by A. A. Lovelace (even if it appears to be a reprint ;-).

HTTP redirector

Are you tired of having all kinds of people tracking which links you click, and which pages you visit on the web? My HTTP redirector attempts to solve this problem by providing you with a local, non-logging replacement for some of the trackers out there. The tool is Open Source and written in Ada.

Gopher concurrency exercises

I was pointed to some interesting programming exercises by a fellow Ada programmer. I took a few hours out of the calendar to solve them in Ada. One interesting observation is that the hardest part of the exercises was to make nice terminations of the programs. The actual synchronisation and communication is easy to do in Ada.

LEGO brain - MR scanners

I have built a model of a human brain in LEGO for an exhibition at Medical Museion in Copenhagen.

Combining SPARK 2014 and Ada 2012

I have created a minimal example showing how SPARK 2014 proofs and Ada 2012 run-time checks of the same contracts can be done. In the example there is a simple increment procedure with a precondition, which either can be checked at compile-time (by a SPARK 2014 prover) or at run-time (by compiler-inserted checks).

Command-line driver generator

An Open Source tool for generating command-line interfaces to Ada packages.
The declarations of subprograms in the public part of an Ada package specification can be seen as a declaration of how you are supposed to call the features implemented in the package. This tool translates an Ada package specification into ready-to-compile command-line interface for the package.

Case statements in Ada

A short screencast introducing the viewers to some of the benefits of how case statements work in Ada, and how the static coverage checking in the compiler helps preventing errors. The presentation includes some Ada 2012 features and also gives a basic introduction of subtypes (subsets). (Alternative version.)

Ada Europe 2015 – 20th International Conference on Reliable Software Technologies

I presented my tutorial on contract-based programming and gave a talk on persistent containers at the Ada Europe 2015 conference in Madrid.

Review of coding standards

Coding standards can benefit from a critical review from an experienced software developer. I provide reviews and constructive comments for coding standards for Ada source text.

Software for finding wave-induced cracks

I have an application for finding wave-induced cracks in video inspections of sub-sea structures available for interested customers.

Persistent Containers

I have done some work on persistent containers for Ada 2012 in connection with a paper I have submitted to the Ada Europe 2015 conference. While I expect to keep the interface to the containers unchanged, I plan to change the implementation drastically.

FOSDEM'15 Ada DevRoom

I gave a talk on Contract-based Programming in the Ada Developers' Room at FOSDEM'15 in Bruxelles.

Linux Day 2014 in Cagliari

I gave a talk on Contract-based Programming — A Route to Finding Bugs Earlier:

Ada Europe 2014 – 19th International Conference on Reliable Software Technologies

The Ada Europe conference on reliable software took place in Paris this year. I had two items on the programme:

Privacy-leak detector for Java

I can provide a automated detection of privacy-leaks in Java classes using a custom static analysis tool.

Contract-based programming in Ada 2012

A course introducing the participants to contract-based programming in Ada 2012, and giving them some basic rules for using the features of Ada 2012 in a consistent and efficient manner. This course has previously been given as a tutorial at the Ada-Europe conferences in 2014 and 2015.

POSIX file descriptors as Ada streams

An Open Source Ada package wrapping a POSIX file descriptor (as declared in the POSIX.IO package from the POSIX Ada API) as an Ada stream. This allows you to stream Ada objects to/from any kind of file opened with the POSIX Ada API using just the standard stream attributes of Ada.

Source code review

I can provide critical source text reviews, either during development or as an independent review of a final product before delivery/acceptance.

Build and test setup

I have refined and published my build and test framework. The repository represents a generalised version of my (currently) preferred arrangement of the building and testing of an Ada project.

Database interfacing with GNATColl

I am spending some time studying and experimenting with the GNATColl database interfacing facilities. So far one of the public results of this is an example of how (not) to link pairs of rows in a table together. The documentation for the gnatcoll_db2ada tool was not quite obvious (for me).


I gave a presentation titled Contract-based Programming with Ada 2012 - an Experience Report at this year's Danish Static Analysis Symposium.

The 2012 version of the Ada programming language standard includes checked "contracts" and "aspects" for subprograms and types. Some of these are by definition checked at compile-time, while other checks can be postponed to run-time, if a static analysis is unfeasible (or just not implemented).

At AdaHeads, we are currently developing a hosted telephone reception system, where the core component is written in Ada 2012. We picked Ada 2012 specifically to be able to use the contracts and aspects to increase our confidence that the software is correct.

Our experience so far is that GNAT-GPL-2013 (the only generally available Ada 2012 compiler) only implements static (compile-time) checking of contracts and aspects where it is required by the language standard. This means that for now, the big static analysis benefits of using Ada are related to the basic type system, which also existed in earlier versions of the standard, and the major benefit of switching to Ada 2012 at the moment is in the improved run-time checks.

Sound recording and playback for Ada

An Open Source sound library for Ada providing recording and playback support.

POSIX in Ada

An appendix to the book Understanding Unix/Linux Programming making it Ada-based instead of C-based.

Software innovations

New business use of existing software technology, and development of new programming techniques.

Mathematical modelling

Mathematical models designed to solve problems for your business.

Data analysis and processing

Analysis of and data processing for biological experiments.

Pronunciation-aware dictionary look-up

Algorithms for pronunciation-aware searches in dictionaries and other databases.

Software development

Software development on a consultancy basis. I can provide time estimates and hourly rates, or fixed-price quotes depending on your needs. I have experience in a large variety of programming languages, among others: Ada, C, C++, Python, Oracle PL/SQL, Pascal, SPARK and Fortran.

PortfolioCurriculum vitaePublication listProductsServicesScienceRSS feedsCalendar

JSA Research & Innovation • Jægerparken 5, 2. th. • 2970 Hørsholm • Danmark