Have a Cookie

Cookie

My website uses cookies to personalize content and ads, to show you social media features, and to analyze website traffic. I might share information about your use of the website with my social media partners, advertising partners, and analysis partners, who may combine the data with other information about you, provided to them from your prior use of their services. Please note that you can change your cookie settings at any time.

POSIX file descriptors as Ada streams

I’ve made this Open Source Ada package wrapping a POSIX file descriptor (as declared in the POSIX.IO package from the POSIX Ada API) as an Ada stream. This allows you to stream Ada objects to/from any kind of file opened with the POSIX Ada API using just the standard stream attributes of Ada. An open-source Ada package…

By.

min read

posix-streams

I’ve made this Open Source Ada package wrapping a POSIX file descriptor (as declared in the POSIX.IO package from the POSIX Ada API) as an Ada stream. This allows you to stream Ada objects to/from any kind of file opened with the POSIX Ada API using just the standard stream attributes of Ada.

An open-source Ada package refers to a software library or collection of code written in the Ada programming language that is made available to the public under an open-source license. Ada is a structured, statically typed, imperative, and object-oriented high-level programming language. Open-source Ada packages are developed and shared by the Ada community, allowing developers to freely use, modify, and distribute the code.

One example of an open-source Ada package is Alire, a source-based package manager for the Ada and SPARK programming languages. Alire allows developers to easily manage and incorporate Ada packages into their projects. It is part of the effort to create a cleaner and more familiar ecosystem for Ada and SPARK, managed by the community.

The Ada Resource Association provides a collection of free tools and libraries for Ada, including the Ada Library Repository (ALR). ALR is a catalog of ready-to-use Ada/SPARK libraries, along with a command-line tool to obtain, build, and incorporate them into projects.

Open-source Ada packages play a crucial role in promoting collaboration, sharing of code, and advancing the development of the Ada programming language. They provide a valuable resource for Ada developers to leverage existing code and accelerate their software development process.