← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Adi2: A Modern GUI Library for Ada with CSS Styling and XML UI on SDL3

🔄 Updated 1h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Adi2 provides CSS-like styling with live reload for Ada GUIs.
  • It supports declarative XML UI layouts or direct Ada construction.
  • The library integrates with SDL3 for rendering and includes asset bundling.
  • Adi2 is in production use but its APIs are not yet stable.

Introduction to Adi2

Adi2 is a new GUI library developed for the Ada programming language. It aims to provide a modern toolkit for creating graphical user interfaces, incorporating features commonly found in contemporary UI stacks. The library is built natively in Ada and utilizes SDL3 for its rendering backend.

Modern UI Development Features

Key features of Adi2 include CSS-like styling with live reload capabilities, allowing developers to modify UI styles without recompilation. It also supports declarative UI construction using XML layouts, which can be generated into Ada packages, or direct construction of widget trees in Ada code. The library handles animations, SVG and Lottie graphics, internationalization, and asset bundling into a single executable.

Rendering and Tooling

Adi2 supports rich content rendering, including a lightweight HTML view widget, raster images via SDL3_image, SVG through plutosvg, and Lottie animations via rlottie. It also incorporates HiDPI-ready units for consistent display across various screens. For development, Adi2 includes an MCP bridge that enables editors and AI assistants to interact with the running application for testing and automation purposes.

Current Status and Accessibility

Currently, Adi2 is in production use, though it has not yet reached a stable release, meaning its APIs may still undergo changes. The library's examples can be compiled to WebAssembly using GNAT-LLVM and Emscripten, allowing them to run in a web browser. Release builds statically link into a single executable, typically under 10 MB.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 24

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Adi2 is a new GUI library for the Ada programming language that offers modern UI features like CSS-like styling, declarative XML layouts, and SDL3 integration. This development provides Ada developers with a contemporary toolkit for building graphical user interfaces, potentially increasing the language's appeal for application development.