❌ About FreshRSS

Normal view

There are new articles available, click to refresh the page.
Before yesterdayNews from the Ada programming language world

[ANN] Release of UXStrings 0.6.0

This Ada library provides Unicode character strings of dynamic length.

It is now available on Alire in version 0.6.0.


  • Add string convenient subprograms: Contains, Ends_With, Starts_With, Is_Lower, Is_Upper, Is_Basic, Is_Empty, Remove, Replace.
  • Add list of strings with convenient subprograms: Append_Unique, Filter, Join, Remove_Duplicates, Replace, Slice, Sort, Is_Sorted, Merge and Split on strings.

So far in UXStrings, its API are similar to those of the strings Ada standard libraries. If you find some missing, make your proposals on Github.

NB: UXStrings3 is now the default implementation.

submitted by /u/Blady-com
[link] [comments]

[ANN] GNAT Studio 24.0 for macOS Ventura.


Here is a very preliminary version of GNAT Studio 24.0wa as a stand alone app for macOS 13:


See readme for details.

Limitation: Ada Language Server has some latencies and doesn't respond when parsing source code with more 1000 lines. It may be due to some compilation options I missed.

There could be some other limitations that you might meet.

Feel free to report them on MacAda list (http://hermes.gwu.edu/archives/gnat-osx.html).

Any help will be really appreciated to fix these limitations.

Enjoy, Pascal.

submitted by /u/Blady-com
[link] [comments]

[ANN] Release of UXStrings 5.0

This Ada library, providing Unicode character strings of dynamic length, is enriched by a third implementation: UXStrings3 also available on Alire. With this latter implementation, the characters are stored in Unicode form and the management of dynamic size uses the standard Wide_Wide_Unbounded strings library.

Performance with Gnoga is better. UXStrings2 already brought better performance in the case of strings only made up of ASCII characters (improvement by a factor 2 to 3 compared to UXStrings1). With UXStrings3 performance in the latter case is still improved (factor 6 to 7 compared to UXStrings1) moreover in the case of strings accentuated in French and strings containing emojis the process times are also improved (factor 7 to 8 by compared to UXStrings1 or even more in the case of emojis).

For all cases, the global memory occupation of the Gnoga application is generally similar (9 to 10 Mb). The memory occupation due to UXStrings3 is negligible compared to the memory occupation of the server engine implemented in Gnoga.

Study case: AdaEdit application using the Gnoga graphics library with UTF-8 files:

  • English 315 kb
  • French: 447 kb
  • Emojis: 439 kb

Process: read all lines of the given file and display the full text

Regardless of the implementation chosen, the appealing of a library is mainly based on the capabilities it offers (API). So far in UXStrings, these are similar to those of the strings Ada standard libraries. If you find some missing, make your proposals on Github.

submitted by /u/Blady-com
[link] [comments]