Ada SPARK Office Hours 2026-11-06

We will hold our Ada SPARK Office Hours again tommorow, Friday Nov 6th, 10am ET

Suggested topics:

And of course, open to other topics, questions and suggestions.

Details and the link to the meeting at Ada SPARK Office Hours | AdaCore

3 Likes

Have nice meeting!

I’m not able to participate this time…

The recording is here:

Previous recordings: https://www.youtube.com/playlist?list=PLUyHH211jYhg

Chat messages:

00:35:16.836,00:35:19.836
Fernando Oleo: Would also love to see it here https://github.com/enjoy-digital/litex


00:46:46.294,00:46:49.294
Cesar Sagaert: Many Flare features are described in the https://github.com/AdaCore/ada-spark-rfcs/ repo

Transcript:

Summary

Project updates highlighted AutoSAR rewrites and Freya FPGA board specifications and Flare language extensions for Ada.

AutoSAR Spark Project Update
AI driven conversion rewrites 25000 lines of C code into Spark to eliminate buffer overruns. Project completion is targeted by the end of the weekend on hardware.

Freya FPGA Board Architecture
New open source Freya board utilizes Ada and Spark with extensive memory specifications and connectivity options. Technical feedback suggested evaluating Crowdsupply for manufacturing batches.

Flare Language Extensions Ada
Flare initiative provides modern language extensions for Ada to lower entry barriers with selective enablement. Gnat Commons compiler will synchronize openly with commercial releases.

Details

Attendee 2’s AutoSAR Spark Project Update: Attendee 2 discusses an ongoing AI-driven project to convert an AutoSAR hardware abstraction layer implementation into Spark to eliminate buffer overruns and undefined behavior. The project involves rewriting approximately 25,000 lines of C code, updating system requirements, and running on an STMicroelectronics micro board with CAN bus connectivity, with full project completion targeted by the end of the weekend.


Community Events and Conference Submissions: Attendee 2 provides updates on upcoming community events and conference presentations, noting that an application for an Ada dev room at FOSDEM was unsuccessful, which led to a community application for a stand instead, alongside an individual submission to the open-source system programming languages dev room. Additional presentations are scheduled or submitted for the Embedded Systems Conference in San Jose in January by Attendee 1, the Embedded Online Conference, and the upcoming Ada Europe event in Berlin in June. Furthermore, an Ottawa community meetup is scheduled for November 25th with approximately 12 people signed up.


Introduction of the Freya Open FPGA Board: Attendee 1 introduces “Freya,” a new open-source FPGA board built around Ada, Spark, and Ali to eliminate setup friction and reliance on closed proprietary hardware, utilizing a public repository approach with KeyCAD designs and a 2.54mm pin standard. The board is powered by an Artix-7 FPGA featuring 100K logic cells and is controlled by a Raspberry Pi Pico 2 board controller (RP2350) running a native Ada firmware via USB-C for board health monitoring, power control, and FPGA programming.


Freya Board Technical Memory Specifications: Attendee 1 details the memory architecture of the Freya board, which includes four 8-megabyte pseudo-static RAM (PSRAM) ports for uniform read and write latency, 32 megabytes of SDRAM for frame buffers, 128 megabytes of magnetoresistive RAM (MRAM) for persistent data storage across power resets, 32 megabytes of flash memory for FPGA images, and a microSD card slot.


Freya Board Connectivity and Extension Architecture: Attendee 1 outlines the connectivity features of the Freya board, including gigabit Ethernet, HDMI output, two raw LVDS link ports on RJ45 connectors, and eight extension slots supporting up to 96 input/output pins and two buffered 5-volt logic buses. The power system relies on a conservative 27-watt USB-C power delivery rail alongside a secondary auxiliary “suicide” rail to support industrial or variable power requirements with short-circuit isolation protecting the core components.


Feedback and Recommendations on the Freya FPGA Board: Attendee 7 and Attendee 6 provide technical feedback and suggestions for the Freya board, recommending the addition of a second USB port, evaluating Crowdsupply for manufacturing distribution of production batches around 100 to 200 units, increasing RAM to 64 megabytes if full Linux support is desired, and specifying audio CD-quality digital-to-analog converter requirements. Attendee 1 notes that the board primarily targets Ada, Spark, and Zephyr deployments rather than heavy Linux environments, while confirming support for standard digital buses and the New RV32 RISC-V soft core.


Freya Board Soft Core and Peripheral Integration: Attendee 1 explains that the Freya board utilizes the New RV32 RISC-V soft core, for which they provide runtime support, light tasking, and basic peripheral board support packages for universal asynchronous receiver-transmitters, general-purpose input/outputs, and serial peripheral interfaces, while noting that managing esoteric extension drivers remains an open structural question.


Introduction of Flare Language Extensions for Ada: Attendee 2 introduces “Flare,” a multi-year initiative providing modern language extensions for Ada—starting with version 0.1 and object-oriented programming changes partially implemented in GNAT Pro 27—designed to lower the barrier of entry for new programmers by incorporating modern object orientation and constructor semantics. The extensions can be enabled selectively at the compilation unit level using pragmas or command-line switches to maintain backward compatibility with existing codebases.


GNAT Commons Compiler Synchronization and C++ Compatibility: Attendee 2 and Attendee 1 clarify that Flare is not intended to serve as a complete C++ clone or replicate complex C++ template patterns, but rather to evolve Ada in alignment with its core traditions while borrowing practical features from other modern languages. Additionally, Attendee 2 announces that a new open-source “GNAT Commons” compiler will be released in direct lock-step with GNAT Pro commercial releases to facilitate community contributions and version synchronization.

Can we have more information about this? I’d love to know more about the differences between GNAT Pro, GNAT fsf and the newly proposed GNAT Commons! And what their problems are with the release schedules.

More info coming soon, consider this a sneak preview announcement

In short, GNAT FSF is great and not going away, they will be maintained as well. But our commercial customers sometimes want to share content that they have produced and donate it to open source.

When they do that, they have a hard time documenting version dependencies. GNAT Commons is designed to fix that, such that, say, something was built using GNAT Pro 27.0, then you can feel confident that it will build with GNAT Commons 27.0

There will be a GitHub releases page, but we have not quite figured out how to integrate into Alire yet. Work ongoing there.

There is also an ask to integrate into the Linux package managers and HomeBrew. Something else to work on.

Hope that helps, curious for feedback of course!

3 Likes

What I feel uncomfortable about is AdaCore’s attitude to treat Ada as a property of theirs.
Ada is an ISO standard, which is maintained by ARG (Ada repporteur group). There is a pile of AIs (Ada Issues) with proposals for language enhancements and also a GitHub group for community input for enhancements: GitHub - Ada-Rapporteur-Group/User-Community-Input: Ada User Community Input Working Group - Github Mirror Prototype · GitHub.
Parallel to this, there exists a GNAT switch to enable lots of proprietary “enhancements” (I put this in quotes because not all Ada users feel like this, including me).
While many of such additions are just for trying whether these are valuable additions (which is fine), I definitely see the danger that Ada will become a language with proprietary dialects which is contrary to the Ada spirit as of yore. Some of them are realy ugly in my very personal view.
It’s already the case that the only vendor which is (nearly) up to date to the current standard is AdaCore, so we do have no choices if we want to use this latest standard.
I also see the danger that AdaCore might decide to not follow the ARG proposals for RM changes.
This situation will definitely endanger portability.
However, I do want to confirm that I appreciate very much what AdaCore has done and is still doing for the community.

1 Like

This sentence implies intention, but I think there is none.
I expect they’d love it if some Ada Language Foundation relieved them of hard work of maintaining a reference Ada compiler (and much more).

There’s also the fact that AdaCore is the only vendor that supplies a compiler that’s in sync with ISO/ARG’s Ada.

As for the Flare work, I don’t mind it because it’s not being forced on anyone.
It’s easy to criticise particular proposals, such as the OOP extensions, which seem to extend the syntax but not the semantics.
My intuition is that they will realise at some point that what they really want is a modern Ada-like language instead of endless syntax sugar plastered onto poor old Ada.

4 Likes

MacPorts? If HomeBrew is considered, then MacPorts should be considered.

RBE

1 Like

Thanks for the comments and the kudos.

AdaCore certainly does not see Ada as a property of ours, so from that perspective I can reassure you.

What we do see is a need to experiment with language features that we hear our customers and the community are interested in. The Flare and GNAT Commons initiatives are aimed at making it easier for people to step into Ada and allow them to become productive. Especially with the recent interest in AI and formal methods we believe there is an opportunity to grow our community and rejuvenate it.

Backwards compatibility is an important aspect in everything we do, but not always possible, as we wrote about in the AdaCore Digest topic.

You can find more information here: GitHub - AdaCore/ada-spark-rfcs: Platform to submit RFCs for the Ada & SPARK languages · GitHub

Thanks for the feedback, I’ll add it to the list of topics to look into.

(disclaimer: that is a pretty long list :slight_smile:

Please note that the information about the current and draft Ada reference manual at the start of the README on that page is outdated.

It might be best to replace it with a reference to the relevant page by the Ada Rapporteur Group: Ada Rapporteur Group - Ada Reference Manual .

1 Like

Note that the cloud provider used for that domain is blocked in various places now, so you might want to also link the github location.

Thanks Dirk! Will put an action to update