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.
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.
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.
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 →
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.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
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.