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,6b777a2e4fd60559 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!news.germany.com!news.buerger.net!LF.net!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Only one Ada vendor? Date: Sun, 21 Oct 2007 22:57:57 +0200 Message-ID: <878x5wb2y2.fsf@mid.deneb.enyo.de> References: <1192806306.892546.73350@q5g2000prf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: idssi.enyo.de 1193000277 7664 212.9.189.177 (21 Oct 2007 20:57:57 GMT) X-Complaints-To: Cancel-Lock: sha1:Wf1/JGvUQWvp+kR447rGB1nqrGk= Xref: g2news2.google.com comp.lang.ada:2530 Date: 2007-10-21T22:57:57+02:00 List-Id: * Simon Wright: > "Nasser Abbasi" writes: > >> If this was say C or C++ code full of #ifdefs and each C compiler >> having its own set of a million different compiler switches I would >> understand, but Ada code? So I am just curious why would it be hard >> to "switch" Ada compilers? > > Application code is very likely to depend on compiler-specific > extensions and support packages; eg GNAT's 'Unrestricted_Access and > GNAT.Sockets. And compiler-specific time behavior of the run-time library. If you move an application which uses Ada.Strings.Unbounded heavily to a compiler whose run-time library supports only a single-character Append operation whose run-time is proportional to the string length, performance might be completely unacceptable.