Tag - www.plaxo.com

What's new in Ada Utility Library 2.7.0

By Stephane Carrez

Version 2.7.0 of Ada Utility Library brings the following improvements:

  • Used spdx-tool to use SPDX-License-Identifier in headers
  • New package Util.Files.Walk to iterate over directory trees and honor .gitignore
  • Add support for custom log formatter (allow to translate log messages, filter messages, ...)
  • Feature #48: Change the log time from UTC to Local Time (configurable)
  • Fix #49: Perf report generates incorrect XML title attributes
  • Fix #50: 128Bit AES-CTR Encoding doesn't work (thanks Adam Jasinski)
  • Fix #53: Executor does not always stop the worker tasks

This article highlights two new features provided by the new version.

Read more
To add a comment, you must be connected. Login to add a comment

Unlocking the Power of OpenAI in Ada programs

By Stephane Carrez 1 comment

OpenAI has recently emerged, and its usage has increased in various areas. It was time to make it available to Ada programs using the Ada OpenAI library. The library provides an Ada API to make requests on the GPT-4, GPT-3, DALL.E and other AI models. The article does not assess the merits and drawbacks of using such technologies but instead focuses on the technical aspects of utilizing them within an Ada application.

Read more
1 comment
To add a comment, you must be connected. Login to add a comment

Ada BFD 1.3.0

By Stephane Carrez

Ada BFD is an Ada binding for the GNU Binutils BFD library. It allows to read binary ELF, COFF files by using the GNU BFD and allows your program to read ELF sections, get access to the symbol table and use the disassembler. The new version fixes compilation issues with recent GNU Binutils versions (starting with 2.39) and fixes loading the mini-symbol table of shared libraries.

Read more
To add a comment, you must be connected. Login to add a comment

AWA 2.4.0

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. The major change of this new release is a better integration with the Alire package manager. The crates are in the process of being integrated in the Alire Community Index but meanwhile a dedicated index can be used to access the latest AWA crate definitions. Another interesting feature introduced in the new version is the support for Embedded Web Server as an alternative to the Ada Web Server.

Read more
To add a comment, you must be connected. Login to add a comment

Ada development on FreeBSD 13.1

By Stephane Carrez

The Ada support has been removed from FreeBSD 13.1 ports because it was deprecated. Indeed, the gcc6-aux port was deprecated and expired on 2022-02-28. There is no indication about a replacement solution and using Ada for FreeBSD is a challenge but this is still possible. This article records a number of steps and commands that helped me setup a new Ada compiler based on GCC 12 on a fresh FreeBSD 13.1 installation.

Read more
To add a comment, you must be connected. Login to add a comment

IO stream composition and serialization with Ada Utility Library

By Stephane Carrez

IO stream composition is a powerful mechanism that has been provided by Java platform since its early days. It allows one or more transformations to be performed when reading or writing some content. Doing such transformation is transparent to the reader or the writer. For example, in the reading process, it allows to first decode the content in Base64, then decrypt the binary stream and then decompress that decrypted binary stream, all this in a transparent manner. The writing process would first compress what is written, then encrypt and encode in Base64. All these transformations are activated by connecting one stream object to another. In Ada, such IO stream composition is possible with Ada Utility Library.

Read more
To add a comment, you must be connected. Login to add a comment

Aflex 1.5 and Ayacc 1.3.0

By Stephane Carrez

Aflex is a lexical analyzer generating tool similar to the Unix tool lex (1). Ayacc is an Ada parser generator in the style of yacc (1). New releases are available for these two tools and they bring a number of small improvements to these tools written in Ada 83 in the 1990s by John Self, David Taback and Deepak Tolani at the University of California, Irvine.

Read more
To add a comment, you must be connected. Login to add a comment