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,e7151167e0767ecc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: Feasibility of using Ada in new development Date: 6 Sep 2004 05:19:23 -0700 Organization: http://groups.google.com Message-ID: <5ad0dd8a.0409060419.166c29e8@posting.google.com> References: <8429999a.0408231027.2850e800@posting.google.com> <5ad0dd8a.0408302222.56282d6f@posting.google.com> <4135498c_1@news.tm.net.my> <5ad0dd8a.0409040738.3fff41b8@posting.google.com> NNTP-Posting-Host: 62.111.211.178 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1094473164 15805 127.0.0.1 (6 Sep 2004 12:19:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 6 Sep 2004 12:19:24 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:3371 Date: 2004-09-06T05:19:23-07:00 List-Id: Marius Amado Alves wrote in message news:... > >>Final example, I am sincerely interested in the resolution, you may > >>perceive it as a challenge for an Ada zealot: > >>- http://state-threads.sourceforge.net/ how would you do this in Ada... > >>I really don't know wether to start a six months and up, high risk, > >>project to modify the GNAT runtime, or just use this library in C. > > > > Why modify the GNAT runtime. This is a library right ? Ada with tasks, > > protected object is certainly in a good position to propose something. > > Maybe starting with AWS is a good idea... > > Definitely. This State Threads project seems a waste of time to me. If I > understand correctly, their objective is increasing web server > performance by a small factor, namely not changing the order of > magnitude. Actually, their objective is resource aware scheduling of many (even 100K and up) cooperative threads. The "Accelerating Apache" project is a daughter projects that shows that even an application that has not been written in this in mind, can benefit. Now quote from the "Accelerating Apache" project home page: "Nonetheless, this project's aggressive optimizations make Apache/1.3 up to ten times faster and Apache/2.0 up to four times faster on the SPECweb96 benchmark." x10 performance increase is exaclty one order of magnitude, which proves, again, that love is blind. Wether an x4 optimization is interesting, depends on the situation. > To me this is clearly a case where it much less costly to > achieve the same result by throwing in more hardware. And keep > programming in AWS with the run time and operative system as it is. Incidentally, this is always the answer of Java fans: "throw in more hardware". Regards, Wojtek