From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.ada Subject: Re: How to get Ada to ?cross the chasm?? Date: Wed, 18 Apr 2018 23:47:26 -0700 Organization: A noiseless patient Spider Message-ID: <87d0yvlmkh.fsf@nightsong.com> References: <1c73f159-eae4-4ae7-a348-03964b007197@googlegroups.com> <06a8980d-21bb-4067-b22d-7d1f89342948@googlegroups.com> <19c7a205-0a82-477b-9254-01af786f467e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: reader02.eternal-september.org; posting-host="9a6605bac137cda67616cb9838945400"; logging-data="12320"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AEUZqe57hjfREjbayxiGL" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:jdKukxisD1LEQauOW5ObkVPYedA= sha1:NM1EU8V+AMGa2mrkYpCXPO0/Tq0= Xref: reader02.eternal-september.org comp.lang.ada:51627 Date: 2018-04-18T23:47:26-07:00 List-Id: Lucretia writes: > This is truly not an argument either. Say someone's deciding whether > to use C or Ada and there's this sub £/$/€ 1000 compiler for Ada. They > will just go with C, because there's a fucking C compiler everywhere > for nothing. Seriously, look at how many C compilers there actually > are. There's loads of em, all free. There's also non-free C compiler vendors like Rowley and Green Hills doing good business. I don't like anti-GPL whining as a matter of principle (if someone can't handle the GPL because they want to write non-free software, why do they expect a compiler vendor to give away the store?) but I do sympathize with the issue that GNAT Pro is quite expensive. So I'm supportive of a $1K-ish product. I can tell you even as an unfunded developer, that $1K wouldn't be enough to sway a language choice for a serious project ($25K is maybe another matter). I was in some discussions with a hardware guy about an embedded project a while back. The compiler possibilities were: - a couple of commercial Forth compilers that were around $1500 for a one-time perpetual license with 1 year of maintenance, plus some annual fee if you wanted updates. The hardware guy liked these compilers because they had good support for embedded development and he liked the language. - Any of a number of free Forth implementations. This might have been workable. It would have been used just for low level stuff by the hardware guy. The higher level stuff would be written by me and I was interested in using Ada for that. - GNAT Pro (something like $25K). We would have needed outside funding for this, or anyway some revenue from selling the product. $1500 would have been a heck of a lot more doable. - Gnat GPL -- I (as the software guy) was ok with this. The goal was to sell a hardware product, and given its target market, releasing its internal software under GPL would actually have helped sell it. - GNAT FSF - didn't really think about this since I didn't feel like we needed to hold the code back. - GCC or some other C or C++ compiler - I was interested in Ada because of stronger safety properties, but in practice this might have worked out ok. Rust wasn't really a consideration. - interpreted language du jour: didn't really consider at the time, but probably should have. Even low powered embedded cpus can run them acceptably now.