That's why Toyota moved to Ada, because their C or C++ software caused crashes.
HN user
Lucretia9
https://github.com/Lucretia/
Pattern matching is in all functional languages, afaik.
Ada has ranges and subtypes.
type Angles is 0 .. 360;
subtype Acute_Angles is range Angles'First .. 90;
Subtypes can be used with the parent type without conversions.Pascal only has subranges, iirc.
c is the new BASIC.
FYI, re the ranges in rust, you can do a range minus 10 in Ada, I use it in my SDL2 bindings.
If the price is not on the website, you can't afford it.
Your first point cancels out your fourth.
Ada has the concept of Pools, the heap is one of the pools, you can define your own.
Pretty sure Java in vscode and android studio places block names after }'s because it's hard to read otherwise.
You talk about C and C++ yet call Ada "ancient," C from 1969 and C++ from 1979.
Whereas Ada's first version is from 1980 and first standardised version (different to 1980) in 1983. Yeah, "ancient."
GetIntoGamedev is not old, he's in his 20's. The issue is, is that people are not prepared to trying something if it doesn't look like C or C++.
What are the options required to build an android gcc these days?
Look at the "Linking" section https://github.com/ada-game-framework/sdlada
I'm looking into getting it all automated through pragma's and gpr's.
Alire is a frontend to the toolchain, including gprbuild, it just handles grabbing the projects as well.
An Ada image with zero use of Ada.
Don't know why you think that, I learnt some COBOL using microfocus' compiler on a pc at college, it was fine.
Put in a pistorm and the new roms.
The books are all available now, archive.org and other places including this one which is also hosting the wip RKM https://www.retro-commodore.eu/rkrm-wip.
Use AmigaE, far nicer than C. Never tried Chris Handley's "Portabl E" compiler.
Yeah, I remember seeing that years ago, shame it's not open and only win/mac.
I didn't say it was.
The joke was on AdaCore's website.
Maybe a bit like this? https://github.com/Lucretia/orenda/blob/master/samples/modul...
You can use any version of gnat to build this - https://github.com/Lucretia/sdlada
That is exactly the barrier Ada needs to overcome
No, this is the barrier people need to overcome. Readable is good.
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.
He was complaining of no destructors in Ada, when there are.
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.