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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21960280f1d61e84 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.germany.com!newsfeed-0.progon.net!progon.net!news-zh.switch.ch!switch.ch!cernne03.cern.ch!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: How come Ada isn't more popular? Date: Wed, 24 Jan 2007 10:59:04 +0100 Organization: CERN News Message-ID: References: <1169531612.200010.153120@38g2000cwa.googlegroups.com> <20070123211651.c0d43695.tero.koskinen@iki.fi> <87zm89tpk7.fsf@ludovic-brenta.org> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: cernne03.cern.ch 1169632744 32453 137.138.37.241 (24 Jan 2007 09:59:04 GMT) X-Complaints-To: news@@cern.ch NNTP-Posting-Date: Wed, 24 Jan 2007 09:59:04 +0000 (UTC) User-Agent: Thunderbird 1.5.0.9 (X11/20061220) In-Reply-To: <87zm89tpk7.fsf@ludovic-brenta.org> Xref: g2news2.google.com comp.lang.ada:8469 Date: 2007-01-24T10:59:04+01:00 List-Id: Ludovic Brenta wrote: > If your project consists of general-purpose libraries and you want > them available to as many developers as possible, then your best > choice is C That's a misconception as well, quite common in an open-source world. > not only because of compiler availability because, more > importantly, because C makes it easy to call your libraries from other > languages. > It is a design goal of GNOME, for example, to support many > languages for application development, and that's why the GTK+ and > GNOME libraries are implemented in C, despite the fact that they are > object-oriented and so would have benefited from an object-oriented > language. Windows was implemented in C++, and it has C API. Encapsulation is what separates a language choice for the interface and implementation - well, at least to some extent and provided that both languages are easily "bindable". You can even have C API for Ada implementation - pragma Export is just as useful as pragma Import!. In other words, you don't need to use C for implementation part even if you want to have C API for reasons of useability. This is exacly what the open-source guys don't seem to get right. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/