HN user

Lucretia9

114 karma

https://github.com/Lucretia/

Posts0
Comments86
View on HN
No posts found.

The thing about this would be that it likely still compile with zero changes, if the source were available.

The code could easily be converted to later Ada versions and use C.Pointers where necessary (triple pointers), but void * are easy enough to handle now with an access to null record with convention => C.

It was designed by Jean Ichniah and his team, but he was the main designer.

You don't have to use the entirety of the language, you can use pragma Restrictions to get the compiler to ensure you don't use certain features. Some features don't even work for really tiny devices. Even tasking can be done one small systems, like a Z80, for example.

That is still a major problem. I helped a guy get fsf gnat running on yocto for his startup, they didn't use Ada in the end though.

but it's rare that I get to talk about this language

comp.lang.ada, reddit.com/r/ada, irc, gitter, telegram, etc.

A, B, C, E, H, and J are variables. F is an array. D, G, and I are functions.

That was by design, because when it was designed, ide's like we have now didn't exist so being able to change a variable to an array from a function or vice versa was made easier. There is another reason and that mathematically an array is a function.