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!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Ada vs Eiffel Date: Mon, 14 Oct 2019 19:24:52 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <87a7a3l8wo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 14 Oct 2019 17:24:56 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a3cda39ba7a6d3a07df6db2dfd0d0011"; logging-data="30839"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JbCLjg9kRUlEG7YnVompD8xeSlTnvuO4=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cancel-Lock: sha1:cL0fFmxK9YCgLa+pVWhd1mZD0zg= In-Reply-To: <87a7a3l8wo.fsf@gmail.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:57275 Date: 2019-10-14T19:24:52+02:00 List-Id: On 10/14/19 4:05 PM, Saša Janiška wrote: > > However, it pushes just OOP paradigm, but it looks as simpler language > to learn/master with somewhat similar compiler licenses - expensive for > commercial apps and free when using GPL.[1] Both languages seems not to > attract too many open-source enthusiasts and not used in many FLOSS > projects, but providing bindings for GTK (although GtkAda does support > GTK3, while EiffelStudio is GTK2 only)... Note that with Ada, at least, you can obtain free compilers that do not impose the GPL on your program. > Now, I'd like to hear from more experienced people here if You can share > some pro/cons between Ada & Eiffel? In real-world software, Ada's separation of package specification and body turns out to be very important. Eiffel lacks this. Ada's separation of encapsulation and information hiding (packages) from the type system is also very important. I'm not familiar enough with Eiffel to know whether it has something like this, but many other languages only provide encapsulation and information hiding through types. Finally, Ada's high-level concurrency features are very important for correctly modeling problem domains that are inherently concurrent, such as GUIs. I think Eiffel lacks anything similar. > I'm studying some subject and would like to start working on > accompanying desktop GUI application. My dev environment is Linux > (Debian Sid), but would like to be able to provide application for both > Windows & MAC OS. An easy way to build portable GUI applications is to use Gnoga. As it uses a browser for the GUI, it is completely portable between platforms. -- Jeff Carter "Your mother was a hamster and your father smelt of elderberries." Monty Python & the Holy Grail 06