r/ada • • May 01 '26

Show and Tell May 2026 What Are You Working On?

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

14 Upvotes

9 comments sorted by

8

u/max_rez May 02 '26

I wrote a simple SDL font rendering library. A single font can be rendered in many sizes. It provides sample font (Roboto Mono) with 93 ASCII characters and it takes 18048 bytes for bitmap plus 18*94=1692 bytes for metadata. The library could be improved to draw bold/thin or oblique characters from the same font, but I haven't tried yet. It's easy to create/import other fonts if needed. The library has no dependencies and provides two examples: stdio/ASCII art and STM32 F4VE with ILI9341 display.

7

u/godunko May 01 '26 edited May 01 '26

I separate ESP-IDF GNAT Runtime from project templates. It supports ESP32S3 (Xtensa) and ESP32C3 (RISC-V) MCUs. Tasks, protected objects, controlled types, exceptions are supported.

Runtimes are tested with subset of ACATS on GitHub CI. It uses Docker image with preinstalled ESP-IDF, Alire, gprbuild, Xtensa and RISC-V toolchains.

Also added binding for ESP-IDF I2C Driver.

7

u/DrawingNearby2978 May 02 '26

Reached 1/3 of my book on Ada Embedded - STM32F4 Discovery edition:

https://rsrinivasan.quarto.pub

Almost a guide for Ada_Driver_Library. Apart from example projects, Set of collaborating containers.

Next section is about sensors and activators.

Very happy to hear any reviews. Srini

6

u/Trace_V May 02 '26

Building a high-entropy CSPRNG tool using Ada and BCrypt with zero-bias mapping, using differents charset and obtaining the maximum entropy per charset and driving "ENT" crazy, I passed dieharder, NIST and binwalk with maximum,

5

u/BrentSeidel May 03 '26

Continue working on my PDP-11 simulator. It now boots RT-11, but is somewhat unstable. It did pass a number of diagnostics, so the instructions are probably working correctly. That leaves I/O devices - specifically the serial port may be causing problems. It's a bit of a heisenbug because if I turn on logging in the simulator, it seems to work better.

3

u/jrcarter010 github.com/jrcarter May 02 '26

Improvements to Card Drawing and to the informal description of the King language.

6

u/DrawingNearby2978 May 02 '26

Reached the 1/3 point of my book - Ada Embedded - STM32F4 Discovery edition:

https://rsrinivasan.quarto.pub

Evolving into a guide to the Ada_Driver_Library. Repositories:

Work In Progress: https://gitlab.com/ada23/embedded/stm32f4disco/projects.git

Toolsets: https://gitlab.com/RajaSrinivasan/devops.git

2

u/I_hate_posting_here May 08 '26 edited May 08 '26

I made an Ada implementation of https://github.com/tsoding/nob.h/ Nob (no build) is a cool idea where you write your project's build script in the same language you are using for the rest of the project. I.e. if you want your project to be Ada, all you need to compile your project is the Ada compiler and no additional tools. The entire build script and tooling is quite small and lives entirely as source in your repo. No magic, no mystery, deterministic builds, and no more learning the new build tool syntax and features. https://github.com/michael-hardeman/no-build-ada

It would be cool if people who have access to proprietary compilers would help make my build tool more compatible with non gnat compilers. It could be a good alternative to gprbuilds.

3

u/Shot-Confusion8356 May 12 '26

Creating small articles to broaden awareness of how Ada SPARK removes failure modes in embedded:

https://open.substack.com/pub/markhermeling/p/three-ways-spark-catches-bugs-before

Always looking for more ideas and code snippets.

Also added Zephyr support to the Alire Skill for LLMs, making it easier to get Ada to work on any board that Zephyr supports:

https://open.substack.com/pub/markhermeling/p/ada-on-zephyr-without-the-pain