Ada library wishlist

I don’t know which of these might exist, I have some parts of these in progress. Most of what I do in Ada is desktop applications and tools, not embedded, but that doesn’t seem to be a category of software that the community is very interested in.

  • Backing for memory allocators (stack, page allocator w/ mmap, etc.)
  • Memory allocator types (free list, bump pointer, slab allocator)
  • Scope-based files (controlled-type files), that close when they go out of scope
  • Smart pointers - (atomic/non-atomic) reference counted, something analogous to std::unique_ptr
  • Memory mapped loading of files
  • Monitoring files for changes
  • “Is this file binary?” - e.g. Examine first 4 KiB of a file for a null byte
  • UTF-8 helpers to operate on String types - painful especially is grapheme cluster iteration. A lot of tools use UTF-8 or ASCII so I don’t want to move over to Wide_String or Wide_Wide_String.
  • String splitting - I have this in Septum
  • Python shlex equivalent
  • Code generation for JSON serialization/deserialization - feed it an .abs file and get an ads+adb file with load/save functionality.
  • Vulkan bindings
  • PNG loading
  • Super simple http
3 Likes