Not an expert in ADA, but after playing around with it for a while, I don't know why this language doesn't get more praise. It seems to solve a lot of the memory problems Rust solves, albeit in a different way. Its first-class arrays and strong type system seem to go a long way into not having to deal with pointers often, for example. These "features" today would likely be considered part of "a better C", except that…
Compare the Ada getting started page to the Rust getting started page: https://www.adacore.com/get-started vs https://www.rust-lang.org/learn/get-started Ada asks you to compare four versions of GNAT and prominently displays "request pricing" buttons. Rust gives you a compiler, a package manager, some IDEs with Rust integrations, and a link to the Rust Book. In point of fact, Ada has quite a bit of historical baggage…
Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
161–170 of 203 posts
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#162Earlier quoted context omitted.
Ada doesn't have compile-time-safe dynamic memory allocation and deallocation (i.e., tracking a pointer so that you know statically that it's no longer used elsewhere in the function that frees it). Rust does it through the lifetime system, which is based on Cyclone, which long postdates Ada. The usual alternatives are to statically allocate all your memory, to convince yourself it's safe to use Unchecked_Deallocatio…
I'm not super knowledgeable about Rust, but I have tried poking at it a few times, so... you know. Rust seems to be extremely focused on memory safety. Meanwhile Ada is much more focused on correctness in general. Restricting the discussion to simply memory safety ignores, well, most of anything that might be programmed. Ada also has more memory safety options than people tend to talk about. As others have mentioned,…
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#163Not an expert in ADA, but after playing around with it for a while, I don't know why this language doesn't get more praise. It seems to solve a lot of the memory problems Rust solves, albeit in a different way. Its first-class arrays and strong type system seem to go a long way into not having to deal with pointers often, for example. These "features" today would likely be considered part of "a better C", except that…
the free version of gcc gnat is garbage, it randomly crashes during compilation, the timers are based on a subdivision of systick on STM32 (good luck for accuracy or high frequency). So basically you need to already be wealthy to just dip into it (buy a licence of Adacore and a supported expensive aero grade MCU test kit). I stopped messing with it 5 years ago.
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#164Earlier quoted context omitted.
> No, if small commercial developers cannot use the language without paying massive fees, you might as well forget any popularity Have you read my answer? There is no reason why you couldn't use FSF GNAT or GPS in closed-source projects. > Heck, you couldn't even use Ada for non-GPL open source programs. Why not? The GPL GNAT with RLE allows you to use any licence with your application, whether closed or open-source.…
> There is no reason why you couldn't use FSF GNAT or GPS in closed-source projects. But there is Fear Uncertainty & Doubt.
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#165Earlier quoted context omitted.
> No, if small commercial developers cannot use the language without paying massive fees, you might as well forget any popularity Have you read my answer? There is no reason why you couldn't use FSF GNAT or GPS in closed-source projects. > Heck, you couldn't even use Ada for non-GPL open source programs. Why not? The GPL GNAT with RLE allows you to use any licence with your application, whether closed or open-source.…
First the last, There were always free ST versions as far as I can remember. The "little guy" could e.g. use "Little Smalltalk" by Budd which appeared before 1987. No one could write a commercial program with Little Smalltalk. Love the book, but the implementation is not going to work. Heck, Squeak could not do a program that looked anything like a real Windows or Mac program. Maybe we're talking past each other but…
> Maybe we're talking past each other but the IDE says the community edition is only authorized for GPL software, every other edition is big bucks.
Do not let this mislead you. The software is available under GPL. That is all you need to know. And GPL allows you to use the software for any purpose. Maybe I should mention that I studied law for two years and then had one more year of lectures in patent and license contract law (see my profile for more information).
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#166Earlier quoted context omitted.
> There is no reason why you couldn't use FSF GNAT or GPS in closed-source projects. But there is Fear Uncertainty & Doubt.
Although we have the Enlightenment behind us, there is still superstition. There is nothing I can do about that.
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#167Earlier quoted context omitted.
I'm not up to date. Last time I checked (about five years ago) the FSF GNAT was about a year behind AdaCore GPL GNAT. Maybe someone else has more recent information.
At least as of a year or two ago, AdaCore seemed to be putting in more effort to shore up the differences between FSF and GPL GNAT.
After all, FSF GNAT was already compatible with Ada 2012 at that time. And a company that makes large investments in software using Ada undoubtedly needs support and will not shy away from the comparatively low additional costs for licenses and maintenance contracts in its own interest. But it is important that the technology is absolutely free for small companies and people who are simply interested in the technology.
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#168Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#169Earlier quoted context omitted.
which quickly became Visual Smalltalk Enterprise, which you can ask various companies about how that went commercially.
Factually, October 22 1989 — "… an OS/2 version of the Smalltalk language, Smalltalk V/PM … The $500 product is designed to cut the time it takes to prototype user-interface-intensive applications for Presentation Manager." https://www.cbronline.com/news/digitalk_has_first_compiled_v...
Re: Airbus Chooses GNAT Pro Ada for Development of Unmanned Aerial System
#170Earlier quoted context omitted.
At least as of a year or two ago, AdaCore seemed to be putting in more effort to shore up the differences between FSF and GPL GNAT.
Do you have evidence/references of this? After all, FSF GNAT was already compatible with Ada 2012 at that time. And a company that makes large investments in software using Ada undoubtedly needs support and will not shy away from the comparatively low additional costs for licenses and maintenance contracts in its own interest. But it is important that the technology is absolutely free for small companies and people w…