r/ada • • 4h ago

Evolving Ada 2026 Alire Crate of the Year Awards

7 Upvotes

All,

Today is December 1st, which means you have 1 more month to go to submit your crate to the Alire index to be eligible for the crate of the year award.

We will select 3 winners in early 2027. More information is available in the blog post:

Announcing the 2026 Ada/SPARK Crate of the Year Award

Regards,

Mark


r/ada • • 19h ago

Show and Tell December 2026 What Are You Working On?

7 Upvotes

Welcome to the monthly r/ada What Are You Working On? post.

Share here what you've worked on during the last month. Anything goes: concepts, change logs, articles, videos, code, commercial products, etc, so long as it's related to Ada. From snippets to theses, from text to video, feel free to let us know what you've done or have ongoing.

Please stay on topic of course--items not related to the Ada programming language will be deleted on sight!

Previous "What Are You Working On" Posts


r/ada • • 1d ago

New Release ANN: Ada syntax analyzer v1.1

10 Upvotes

The current version provides a full Ada 2022 syntax analyzer library. The analyzer parses the source and creates the syntax tree and cross reference of defining identifiers in the source. Both structures are allocated in an arena pool storage and can be released as a whole. The code source can be file, stream or a user-defined container implementing multi-line source interface. Unicode is fully supported as well as Unicode identifiers normalization checks.

https://www.dmitry-kazakov.de/ada/ada_syntax_analyzer.htm

Changes to the preious version:

  • Get_Source_Description function was added to the cross-reference of contexts;
  • Context table of contents was added for fast search of defining identifiers. The function Find was added for the purpose;
  • Declaration context contains a reference to the node that contains it;
  • Accept statement has operation to get the declaration context of the task body it nested in;
  • The task body node has the list of all nested accept statements;
  • Conflicting declarations that cannot be overloaded are now detected and reported as errors;
  • Nodes enumeration type reordered for easier classification;
  • The function Find was added to find directly visible defining identifiers;
  • The procedures Pop and Push were added to push and pop defining identifiers onto the argument stack.

r/ada • • 1d ago

New Release ANN: Simple Components v4.83

7 Upvotes

The current version provides implementations of smart pointers, directed graphs, sets, maps, B-trees, stacks, tables, string editing, unbounded arrays, expression analyzers, lock-free data structures, synchronization primitives (events, race condition free pulse events, arrays of events, reentrant mutexes, deadlock-free arrays of mutexes), arbitrary precision arithmetic, pseudo-random non-repeating numbers, symmetric encoding and decoding, IEEE 754 representations support, streams, persistent storage, multiple connections server/client designing tools and protocols implementations.

https://www.dmitry-kazakov.de/ada/components.htm

Changes to the previous version:

  • Stream interface was added to persistent objects to allow bulk operations. The affected packages are Object.Archived and Persistent.Data_Bank;
  • The implementation of Persistent.Single_File was changed to utilize stream object interface;
  • Code cleanup in Parsers.Generic_Ada_Parser,Put;
  • Bug fix in Julia bindings (checking that all entry points of the library were found);
  • Optimization of parallel Karatsuba multiplication in Unbounded_Unsigneds.Parallel (missing zero check added).

r/ada • • 1d ago

New Release ANN: Strings edit v3.13

4 Upvotes

The library provides string handling facilities like I/O formatting, Unicode and obsolete code pages support.

https://www.dmitry-kazakov.de/ada/strings_edit.htm

Changes to the previous version:

  • The package Strings_Edit.Unbounded_String_Stream provides stream backed by an unbounded string;
  • Bug fix in Strings_Edit.Base64.To_Base64 (too big intermediate buffer allocated);
  • Bug fix in Strings_Edit.Distinguished_Names error handling.

r/ada • • 3d ago

New Release Aclida: a full-featured command-line framework for Ada, aiming at SPARK proof (work in progress, feedback welcome)

23 Upvotes

Hi all,

I've just made Aclida public: https://github.com/adarium-labs/aclida I've been working alone on it, in my spare time, since May 2025 (a year and a half now 😱).

Why. Ada/SPARK keeps losing ground partly because the building blocks are missing (it's my PoV). Rust rewrote coreutils and sudo; I'd like to do something similar in Ada, but a real tool needs a serious CLI layer first. So I started with one. The name is CLI set inside Ada: a·CLI·da.

What it is. A CLI framework for Ada, inspired by Clap (Rust), Cobra (Go), Click (Python), picocli (Java) and optparse-applicative (Haskell), designed for Ada/SPARK. You declare an argument once and read its typed value through the same handle (no lookup by name).

What it does today:

  • constrained integer, float, enumeration, fixed-point and string values checked by the parser;
  • sub-command trees, aliases, inheritable options, hooks;
  • relationship rules (requires, conflicts, conditions on values) with diagnostics that point at the command line, rustc-style;
  • "did you mean?" for commands and values;
  • generated help, shell completion (Bash, Zsh, Fish, PowerShell), man/Markdown pages, i18n.
Errors point at the command line and are reported together
typos get a suggestion
generated help: categories, env vars, exit status

Two features I'm particularly happy with:

  • Shortcuts. app cg database.url is rewritten to app config get database.url before parsing, so the command tree stays untouched. Diagnostics are drawn on the expanded command line and a note names the shortcut, so users see what was actually run. Providers are pluggable (in memory, file-backed with your own format, or custom). It is inspired by the shortcus system of Alire.
  • Shell completion. Bash, Zsh, Fish and PowerShell, plus your own shell backends. The script calls the program back on each TAB, so suggestions come from the live command tree: commands, inherited options, allowed enum values.
shortcuts
completion

Env vars can be prefixed per application (MYAPP_PORT) or declared by their exact name (NO_COLOR).

Where it is going. The goal for 1.0.0 is that libs/cli is formally proved with SPARK: absence of run-time errors, with the few non-SPARK boundaries listed and justified. It is not there yet (127 unproved checks at last count): no release, the API will still change, and the crates are not in the Alire index. You can build from a clone (see "Building from a clone" in the README).

Around it, the repo already holds early crates for styling, text wrapping and terminal output; a layout crate is a skeleton. The long-term target is a meta-framework (think Rich, Spectre.Console or Ratatui for Ada): components, interactive prompts, then a TUI. That comes much later.

An open question: string types. Aclida is built on anystrings, a small library of mine that lets the user pick the string type at build time (Unbounded_String, wide strings, UXStrings, VSS). It was meant to avoid forcing one string type on every user, but it costs a lot: five backends to test, backend-specific bugs (one backend counts UTF-8 bytes, others code points), a stack overflow under VSS from large records, a quadratic slowdown on UXString that took a storage change to fix, and more trusted code for the proof. The alternative is to commit to Wide_Wide_String, manage code points and encodings myself, and convert at the API edge. Has anyone been through this trade-off in a SPARK project? Would you use a library that only supports one string type?

I'd especially like opinions on:

  • the API ergonomics (declaring commands, reading values, writing rules);
  • the diagnostics: are they readable, is something missing?
  • the SPARK approach and where the proof boundaries sit;
  • the string-type question above;
  • anything that would stop you from using it in a real tool.

Issues are open; pull requests are limited to collaborators (me) for now. Thanks!

The workflow behind it. Along the way I built an agentic development workflow, not specific to Aclida but grown out of working on it. It starts from what you want (a PRD or similar) and goes through requirements (HLR, LLR) and a technical design, then loops:

  1. the specifications are written first, as Ada .ads files, with no bodies;
  2. tests are written from the requirements and those specs; the test agent is not allowed to read implementation bodies (and for a new feature there are none yet), so the first run is expected red;
  3. the implementation then loops against the tests until they pass (red, green, refactor);
  4. SPARK proof, coverage and an independent fresh-context review close the loop. Each task ends on mechanical oracles (build, tests, traceability, proof), not on an agent saying it is done.

For the requirements-to-proof traceability I integrated AdaCore's GNAT Foundry: Intersection (https://github.com/AdaCore/gnat-foundry-intersection) where it did the job better than mine, and kept my own tasks for the parts it was missing. I plan to publish the workflow later as a separate kit, ready to drop into any AI harness.

Disclaimer: I used AI for the dev process. I started with ideas and building blocks by hand, but a substantial part of the code (~45k LoC currently) was written with AI (mainly Claude Code with Opus, Sonnet and Haiku, plus OpenCode/Pi/OMP with DeepSeek V4.1 Flash). This journey deserves its own article: there's so much to say about it.

Other libs that I wrotte as other building block for this project:


r/ada • • 5d ago

General AI Serving Ada

3 Upvotes

Updates to https://github.com/RajaSrinivasan/assignments.git

This project is now getting on the AI bandwagon. Used to be the usual suspects like ChatGPT and Claude were used as the next generation of googling with somewhat mixed results - within the free framework. This thanksgiving season - I plunked down for some serious plans with grok. Many experiments followed. The journey is ongoing, pushing the envelope each time.

  1. https://github.com/tpircher/pycrc.git triggered one of the first attempts. Grok collaborated very nicely to migrate this to Ada. cli tools, code generation are all Ada friendly and literate. Review the current status at https://github.com/RajaSrinivasan/pycrc.git

Others are in various stages of testing. Many exciting collaborations!


r/ada • • 7d ago

Learning Ada 2022 from Zero

Thumbnail github.com
34 Upvotes

I am creating an Ada 2022 course.

This is the introductory volume. It can be a little dense or unclear at places, but I am working on it.

The next volume will be pointers/access types, tagged types , generics, tasking, etc.

You can try the course for yourself from this link too https://beyondfealty.com/ada22fromzero.html

Or view the code and download from github, it just an html page it will run locally in your browser.

The windows and mac tools might be wrong, I did the best I could, but I run linux and I couldn’t test the Windows and Mac steps.

Git is open for any contributions, pull and push requests.


r/ada • • 7d ago

New Release Announcing ESP-IDF GNAT Runtime 0.3.0

12 Upvotes

ESP-IDF GNAT Runtime 0.3.0 is out! This release introduces a new embedded runtime for ESP32-S3, featuring expanded tasking and interrupt support alongside tighter integration with the ESP-IDF build system.

Key Highlights

  • New ESP32-S3 Embedded Runtime (runtime-embedded-esp32s3.json) — Adds support for FreeRTOS-backed Ada tasks, protected objects, and runtime initialization.
  • Interrupt Support — Supports nested interrupts at Xtensa levels 1–3 and direct calls into Ada from ESP-IDF ISR callbacks. Each CPU core gets a dedicated secondary stack for interrupt handling, and the ESP-IDF component integrates the exception unwinder for use in interrupt contexts.
  • Foreign-Thread Support — FreeRTOS tasks created outside of Ada can safely call Ada code once partition elaboration completes. The runtime automatically attaches task context on demand via FreeRTOS TLS.
  • Primary Stack Checking (-fstack-check) — Adds support for compiler-generated stack checks in both task and interrupt contexts, raising Storage_Error when a check fails.
  • Generated SDK Constants — FreeRTOS storage sizes, alignments, tick rate, and the selected ATCB TLS slot are now derived directly from the active ESP-IDF configuration. The ATCB slot is configurable via CONFIG_GNAT_RUNTIME_ATCB_TLS_SLOT.
  • ESP-IDF Build Integration — The runtime now functions directly as an ESP-IDF component. The espidf_add_ada_application CMake helper connects Alire builds and their relocatable objects to the firmware build, handling SDK constant generation automatically.
  • Runtime Library Improvements — Updated clock and delay implementations, expanded runtime package coverage, and consolidated shared legacy descriptor settings.
  • Testing — Expanded the ESP32-S3 ACATS test configuration across multiple test suites.

Target Support & Requirements

  • Target Chips: The new embedded integration targets ESP32-S3. Existing descriptors for ESP32 and ESP32-C3 remain available, though validation of the new backend does not imply equivalent support on those targets.
  • Toolchain: Requires GNAT 16 with matching bb-runtimes sources and a compatible, up-to-date a0b-tools generator. The ESP-IDF component requires ESP-IDF 6.0 or later (the ESP32-S3 integration has been tested against ESP-IDF 6.1).

Configuration & Caveats

  • ESP-IDF Configuration (ESP32-S3): Enable C++ exceptions and Newlib, and reserve a FreeRTOS TLS slot for Ada.
  • Stack Sizing: A dual-core application with no additional foreign-thread consumers requires at least three binder secondary stacks (-Q3). Code compiled with -fstack-check requires an extra 12 KiB of primary stack allowance beyond the application workload.
  • Runtime Behavior: FreeRTOS scheduling does not fully implement Ada’s FIFO_Within_Priorities policy. Exceptions must not propagate out of ordinary callbacks exported to C, and ISR code must strictly use nonblocking, ISR-safe operations.

r/ada • • 9d ago

New Release System ET: an open-source ECAD (PCB design) tool written in Ada. Feedback welcome

5 Upvotes

I've written an ECAD tool for schematics and PCB layout in Ada. I chose Ada because hardware designed with it may end up in mission-critical systems, and the tool should hold itself to the same standard.

It has plain-text design files, a script processor, hierarchical reusable blocks and multi-board design, and it runs on Linux.

I'd welcome feedback on the code, the build and the docs: https://github.com/Blunk-electronic/ET


r/ada • • 10d ago

New Release [ANN] alr2appimage v1.1: now with Debian and RPM packages support

13 Upvotes

alr2appimage version 1.1 has been released and successfully published in the Alire index thanks to the new alire-index-mergebot.

The main new feature is support for generating deb and rpm packages automatically from your binary crate. The list of desired packages is specified with the new --out-package argument and AppImage continues to be the default target.

The easiest way to generate Linux packages from your application crate in a GitHub action is through the alr2appimage-action.

Changelog

Added

  • Support for Debian and RPM package generation, passing a list of package kinds to --out-package.
  • A --single-exe option to keep only the selected executable in generated packages.
  • A --debug option to keep the generation directory after a correct run.
  • Improved desktop metadata handling and terminal-related packaging options.
  • Tests using bbt including packaging checks and validation for AppImage, Debian and RPM artifacts.
  • RPM and Debian packages uploaded to the Releases section in GitHub.

Changed

  • Internally changed spoon crate by aShell for spawning processes. No user-visible changes.

Fixed

  • Corrected packaging problems related to file permissions (AppImage).

Full Changelog: v1.0.0…v1.1.1


r/ada • • 11d ago

Learning ada programming setup

9 Upvotes

i am planning to do setup for Ada. Bit confused on Alire/GNat/Gnat Studio.

Just downloaded GNat studio thinking its 'all in one' but its asking 'gpr build missing'

Can someone point to basic tutorial on how to setup the environment?

Thanks


r/ada • • 12d ago

Show and Tell Sparrow Web Stack v0.1.0

13 Upvotes

ada-lang.io crosspost: https://forum.ada-lang.io/t/sparrow-web-stack-0-1-0/4961

Hey fellow Ada enthusiasts.

I was watching some youtube and I came on this video: https://www.youtube.com/watch?v=sQXFhh_PiG4

Where everyone implements a web server with some specific requirements and constraints. 8 CPUs, a fixed postgres database with a specific config. A benchmark script, and some rules etc…

Unfortunately I’m not a member of this guy’s community so I was a bit late to take part in the challenge but I did see the typical languages up at the top of the leader board. Some rust, some zig, etc etc. I decided I would take some time and make a late entry and see how far I could push Ada. Could I get to the top of the leader board? I tried some experiments with AWS and while it is a good piece of software it wasn’t exactly written with performance in mind. It uses blocking sockets and it doesn’t have pools of reactors that handle responses in bulk.

Here was my submission: https://github.com/arjaythedev/multicore-server-challenge/pull/235

Yes I used Claude Opus 5.5 in the preparation of the submission, but it is not vibe coded. The engineering decisions were made by me. I chose the features and the path forward. I suspect if it ever gets accepted and bench marked it should place near the top. The top of the leader board is 230k users before breaking. On my machine I got just above 500k but that’s on 8 AMD Ryzen 9 9950X3D cores and not whatever weaker VCPU the bench marking machine has.

I spent some time extracting the core of the submission and building a web programming stack that would work with how people build web applications these days. The result is here: https://github.com/michael-hardeman/sparrow

What do you think of the repo? Should I take it any further? Should I publish it? Should we take the improvements and apply them to AWS?

The stack so far has:

  • http focused crypto crate provided by OpenSSL
  • postgres client crate provided by libpq
  • sqlite client crate provided by libsqlite3
  • valkey crate in native Ada
  • async TCP socket support for Linux, BSDs (Mac, etc..), and Windows.
  • Ada HTTP/1.1 and HTTP/2 server with gzip and TLS (via OpenSSL).
  • Ada HTTP/1.1 client with TLS
  • Support for health check and metric endpoints
  • logging with request tracing
  • Ada Open_Telemetry support crate
  • Ada S3 support crate
  • Ada Mustache logic-less template crate.

We have spark silver proof of absence of runtime errors throughout the stack. There is fuzzing testing using libfuzz across all communicating interfaces.


r/ada • • 13d ago

Programming An open-source ECAD tool written in Ada, where design files are plain text and modules are instantiated by reference

6 Upvotes

Disclosure first: I help Mario Blunk with promotion for this project. He wrote it, and he answers the technical questions here.

System ET is an ECAD tool for schematic capture and PCB layout. GPL-3.0, written in Ada, in development since 2017. The repo is about 10.8 MB of Ada today.

What I think this sub might actually find interesting is the file format. Design and library files are plain ASCII text, one file per module, symbol, package and device, so a schematic diffs like source code and lives in git without a database. Submodules are instantiated by reference with defined interfaces at the module boundary, and there is a virtual two-port component called a Netchanger that handles the net transitions between modules. Everything the GUI does is also available as a CLI command or a script file, which is what makes scripted or CI-driven hardware work possible.

Honest state: Linux only, builds from source with GNAT, GtkAda and gprbuild, no installer yet, parts of the GUI are still under construction. Screenshots are in the repo.

https://github.com/Blunk-electronic/ET

Manual: http://www.blunk-electronic.de/ET/pdf/caesystemet.pdf

For the Ada people here: the GUI layer is GtkAda, the whole thing is one codebase that has been alive for nine years, and the CLI is not a wrapper around the GUI but the other way round. Happy to answer anything about how that is structured.


r/ada • • 13d ago

General Flights cancellation in US

0 Upvotes

Anything to do with Ada? 'Analysts' on channels were saying systems/flight management software are outdated and need modernization.


r/ada • • 17d ago

New Release [ANN] adacovex v1.69.0: WIP compiler-like proof diagnostics

Thumbnail gallery
15 Upvotes

What is adacovex

  • Is an Ada/SPARK formal verification and compliance toolkit
  • Zero dependency CLI (for published alire.toml), developer dependencies are gnatprove and the usual bunch of system dependencies.
  • SBOM generation (CycloneDX/SPDX), supporting a decent number of languages with plans to add more support
  • gnatprove/source code parsing, tells you about tests/proof coverage as well as DO-178C / ISO 26262 / IEC 62304
  • Web dashboard, HTTP server and bundled offline manual
  • caching on unchanged code
  • tldr, tealdeer, man page support
  • Status badges and stuff

GitHub: https://github.com/bladeacer/adacovex

Docs: https://adacovex.readthedocs.io/en/latest/

Other Screenshots

Yeah there is a lot of them 😅

About the update(s)

Wow it's been almost a month since I last posted on adacovex, here is what went into the time.

The TOML configuration file now comes with an adacovex init helper, this just provides you with the default configuration file you can use to override default flag values/toggle options.

There is also a WIP implementation for compiler-like proof diagnostics. Lets you contextualise gnatprove outputs with suggested fixes, relevant line and details on the errors. Inspired by what gnatprove can already do as well as compiler diagnostics/error messages as seen in Rust/Go and other ecosystems. Better support and documentation for this will come in future updates.

I am also working to improve contextual help text so it feels more cohesive.

Future Plans

Performance, as well as technical debt like the lack of proof coverage will come after critical fixes like making our SBOM less rudimentary. IMO there is a lot I can learn from syft, the gold standard of SBOM tooling.

There are some good first issues on GitHub I will be looking to create. Feel free to create new ones for bugs, proposed features, polish or edge cases I might have missed out on. I believe I have implemented most of what I set out to do pre 2.0.0. The remaining work is polishing up "tooling ergonomics" as well as addressing technical debt and performance.

I am also thinking of creating a Matrix room/Discord server for adacovex if there is any interest. Do let me know :D

Post-script

As usual the alire release will come later. I also posted about this earlier in the forum.

To think that this started off as a silly idea of mine for improving developer experience for a language I still have a long way to go in. Thank you all for the support all this time ^_^


r/ada • • 18d ago

General Lost job,help me find one

Thumbnail reddit.com
6 Upvotes

r/ada • • 19d ago

Show and Tell Castle *working name, a game I am writing entirely in ADA

25 Upvotes

https://github.com/Adzvokatix/Castle-Game-Engine

Hello, if any of you are interested, here is a medieval colony sim, I am working on. I have completed production of the underlying engine. Everything is a result of procedural generation. Completed so far,

The world | Terrain, Geology, Deposits, Hydrology, Flora, Chunks, Worldgen, Maps

Climate | Seasons, Temperature, Wind, Weather

Rendering | Streaming, Mesher, Textures, Render, Camera, Colors, Currents

The interface | Font, UI, HUD, Input, Views, Pick, Rays (will be redone, rough implementation for production)

Editing and saves | Edits, World_Blocks, Saves

Live water | Fully flowing dynamic water systems

People | Bodies, Poses, Second_Order, Figures, Serfs, Props, Fire

Deer | Deer, Animals, Herds

Routes | Nav, Marks

The colony | Colony, Actions, Scenario

Food and needs

Habitation (prototype) | Buildings, Iso

See to the video, this shows a compilation of alpha stage production milestones and state change comparisons.

Apart from the OpenGL and GLFW bindings (the thin Castle.GL and Castle.GLFW packages that just import the C symbols, plus the -lglfw -lGL link lines), the project has no external libraries. The alire.toml declares no dependencies. The .gpr file pulls in nothing beyond the standard Ada runtime.

What appears in the with clauses is almost entirely the Ada standard library:

  • Ada.Numerics / Elementary_Functions for the math the generators and animation filters need
  • Ada.Text_IO, Ada.Command_Line, Ada.Directories, Ada.Streams for the tools and save format
  • Ada.Unchecked_Deallocation / Unchecked_Conversion for the usual manual memory
  • Ada.Real_Time, System.Multiprocessors for the job system timing
  • a couple of Ada.Containers uses

Everything else—noise, hydrology, geology, deposits, climate, water simulation, navigation, colony logic, serf bodies and poses, procedural buildings, the edit store, the mesher, the UI, the save format—is code written for this project. There are roughly 64 Castle.* package specs; the bindings to GLFW/GL are two of them.


r/ada • • 23d ago

New Release ANN: SparForte 3.0.1

23 Upvotes

SparForte is a scripting language, template language and shell based on Ada and Bourne shell. It has been in development for over 20 years and has about 135,000 lines of code.

SparForte 3 is now available with Alire.

Full announcement on forum.ada-lang.io


r/ada • • 24d ago

Learning Built my first small project in Ada — looking for feedback!

10 Upvotes

Hey everyone!

I'm a Software Developer, and I've recently started exploring Ada because of its applications in aerospace, embedded systems, and safety-critical software.

I decided to build a simple CLI Task Manager to get familiar with the language.

The project supports:

  • Adding and listing tasks
  • Marking tasks as completed
  • Basic input validation
  • Simple task management using Ada's type system

Coming from a background in backend development, I'm finding Ada's strong typing and focus on reliability really interesting.

I'm planning to explore more advanced concepts like concurrency, real-time programming, and SPARK.

I'd love to connect with experienced Ada developers, get some feedback, and learn more about real-world applications.

I'm also open to freelance opportunities, small projects, and collaborations involving Ada or general software development.

What would you recommend building next to gain more practical experience with Ada?


r/ada • • 25d ago

Programming A low-cost, ultra-reliable Holter ECG monitor

Thumbnail hackster.io
14 Upvotes

Cardiovascular diseases are the leading cause of death worldwide. In Africa, their impact has continued to grow over the last two decades.

In light of this, I decided to take on a challenge: to design a portable, connected ECG (electrocardiogram) that would enable anyone to view and monitor changes in their heart activity from the comfort of their own home.

It is important to note that this prototype is not a certified medical device and cannot replace an examination carried out by a healthcare professional. It is, first and foremost, a technological experiment and a learning exercise.

But beyond the device itself, this project has a greater ambition: to demonstrate that it is possible to move from theory to practice, to transform scientific and technical knowledge into concrete solutions that address the challenges facing our continent.

Your feedback is very welcome.

Thanks


r/ada • • 27d ago

Show and Tell I built a cockpit-style habit tracker in Ada—including the web server

17 Upvotes

Every habit is a cockpit button. Complete it and the lamp turns green. When everything is green, you’re cleared for takeoff.

This is a small programming experiment: about 1,200 lines of Ada, serving plain HTML and CSS with no JavaScript.

A few things I explored:

• Distinct types for habit IDs and day numbers, so accidentally mixing them fails at compile time.

• Preconditions that reject logging a habit for tomorrow.

• Eight worker tasks handling requests, with a dedicated recorder task serializing changes through rendezvous.

• An append-only, hash-chained event log that rebuilds the state on startup. Editing an old entry locks the panel, although someone could deliberately recompute the hashes.

One early bug had my HTTP parser reading past an array boundary. Getting a range error with a line number was a nice introduction to Ada’s checks.

Source and build instructions: https://github.com/nick-friedrich/ada-preflight

Five-minute walkthrough: https://youtu.be/5ax_a3xQJhE

I’d be interested in feedback from experienced Ada developers, particularly on the tasking structure and whether the contracts are idiomatic.


r/ada • • Nov 01 '26

Show and Tell November 2026 What Are You Working On?

19 Upvotes

Welcome to the monthly r/ada What Are You Working On? post.

Share here what you've worked on during the last month. Anything goes: concepts, change logs, articles, videos, code, commercial products, etc, so long as it's related to Ada. From snippets to theses, from text to video, feel free to let us know what you've done or have ongoing.

Please stay on topic of course--items not related to the Ada programming language will be deleted on sight!

Previous "What Are You Working On" Posts


r/ada • • Oct 31 '26

New Release Gnoga series on Alire

17 Upvotes

After many a hurdle during Alire registration process, you now have the following at your disposal.

The main Gnoga framework for cross platform GUIs for Ada comes in version 2.2.3.

And now the Gnoga series are finally on Alire:

Find a Gallery of demonstration, tutorials programs and more with the list of the main Gnoga components used by each program. May be helpful for a new comer or a help for finding a specific Gnoga widget example.

gnoga-list: Subscribe | Archive | Search — discussion of Gnoga or create a ticket.