So Ada GNAT, like Rust and such, forces you to make your codebase's files easy t...
nytpu the wyvern @nytpu@tilde.zone
So Ada GNAT, like Rust and such, forces you to make your codebase's files easy to navigate by enforcing a rigorous naming so you know module-package.adb contains the package Module.Package.
But then, of course, since Ada dates to the 80s, they put in in concessions to work on FAT filesytsems with 8.3 filename limitations. But then of course the GCC Ada source code all uses those instead of the fully expanded names, so you get shit like this that's completely impossible to reliably navigate except by guessing. (https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/ada/krunch.ads;h=8b583a050627a1fa89dcf2aee562d33e2c403a4c;hb=HEAD#l26)
And they don't even follow the restriction anymore as shown, so it's not like there's any actual FAT compatibility, and yet they still use the "krunched" names just to make you suffer when navigating the repo