Tag - Ada

Unlocking the Power of OpenAI in Ada programs

By Stephane Carrez

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
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

Reentrant scanner and parser with Aflex and Ayacc

By Stephane Carrez

Version 1.6 of Aflex, the lexical analyzer, and version 1.4 of Ayacc, the Ada parser generator provide numerous improvements to customize the generated scanner and parser. The major change is the support to write a reentrant scanner and parser. Let's have a look at it.

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

Advanced Resource Embedder 1.2.0

By Stephane Carrez

A new version of the Advanced Resource Embedder is now available. The tool allows to embed files in binaries by producing C, Ada or Go source files that contain the file to embed.

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

AWA 2.3.0

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. This is a new release with 99 Debian packages ready to be installed on Ubuntu 20.04 or 18.04 and also Debian 10.

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

Advanced Resource Embedder 1.1.0

By Stephane Carrez

Release 1.1.0 of the Advanced Resource Embedder is available with new formats to represent files in the generated Ada and C sources.

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

Advanced Resource Embedder for Ada, C and Go

By Stephane Carrez

Incorporating files in a binary program can sometimes be a challenge. The Advance Resource Embedder is a flexible tool that collects files such as documentation, images, scripts, configuration files and generates a source code that contains these files.

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

New release Ada BFD 1.2.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.

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

AWA 2.2.0

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. This is a new release with 99 Debian packages ready to be installed on Ubuntu 20.04 or 18.04 and also Debian 10.

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

New release of AKT with Fuse support

By Stephane Carrez

AKT is a tool to store and protect your sensitive information and documents by encrypting them in secure keystore (AES-256-CBC, HMAC-256). The new release introduces the support for the Fuse filesystem to directly mount a secure storage on the filesystem.

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

Ada Web Application release 2.1.0

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. This is a new release with 99 Debian packages ready to be installed on Ubuntu 20.04 or 18.04.

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

Easy reading and writing files with Ada Utility Library

By Stephane Carrez

Reading a file to get its content in a String is a simple operation that is often used in a project. Although this is not complex to do, sooner or later you often have to implement such operation.

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

Ada Stemmer Library

By Stephane Carrez

The Ada Stemmer Library provides several stemming algorithms that can be used in natural language analysis to find the base or root form of a word.

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

New version of Ada Web Application

By Stephane Carrez

Ada Web Application is a framework to build high performance secure web applications. It is time for a new version for this framework to bring new features, increase the reliability and security.

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

AKT a tool to store and protect your sensitive information

By Stephane Carrez

Data security is a major risk at the time of "everything on the Cloud". Using the Cloud can be a good thing but it is sometimes critical to encrypt documents before exposing them to third parties. AKT is a tool for signing and encrypting user's data.

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

Ada, Java and Python database access

By Stephane Carrez

How does Ada, Java and Python compare with each other when they are used to connect to a database? This was the main motivation for me to write the SQL Benchmark and write this article.

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

New releases of Ada Web Application et al.

By Stephane Carrez

To celebrate the France's victory at World Cup, and also because I've not made new releases for a long time, several new releases are available for several Ada projects.

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