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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f6c5cc3ebf97d61d,start X-Google-Attributes: gid103376,public From: KMays@msn.com (Kenneth Mays) Subject: Optimizing Ada95 Date: 1996/04/04 Message-ID: <00001a73+00002c9c@msn.com>#1/1 X-Deja-AN: 145801768 organization: The Microsoft Network (msn.com) newsgroups: comp.lang.ada Date: 1996-04-04T00:00:00+00:00 List-Id: Greetings, 1.) For those surfing the web for specialty packages. I noticed that AdaIC is the best place to look for these products (precision integer packages) or the software engineering web sites I mentioned in earlier messages. C/C++ repositories are not a bad place to look, if you don't mind patching your code. 2.) This brings up another point. Since there is a lot of code written in C/C++, don't we have a C/C++ to Ada95 translator? I was think I could find these special tools on the government corporate web sites. I know this seems silly to some people, but I would like to research the efficiency and effectiveness of optimization between a C/C++ to Ada95 translator and a Ada95 to C/C++ translator (GNAT?). Many researchers test the speed between the same program coded in C++ versus Ada95, so I would like to see if there are ways to improve Ada95 to C++ speed. Mission Impossible? Sidenote: Why reinvent the wheel when you can just patch the code (but first make sure you understand what its suppose to do, not really how it does it (reusability concept))? 3.) What research is being done to optimize Ada95? Do many developers compare Ada95 against BASIC, Pascal, SmallTalk, or other languages? Do you REALLY feel that Ada95 is as fast as something written in Modula or Pascal? Will it ever become as fast as a program written in C++?? Should our research go into transparent interfaces that converts Ada95 into highly optimizedmachine or C/C++ code? I think if we do this for Ada95, couldn't we do this for BASIC? MicroSoft's QuickBasic 4.5 to C++ translator anyone? There are many Ada success stories. We all know that Ada95 has its faults but is a very welcomed language (for most of us). So how many companies are pushing Ada95 debugging tools (CodeView) or optimizing compilers? Are we also considering comparing various Ada95 compilers on the SAME platform to see how they compile and optimize test programs? I don't think ACVC 2.0.1 covers this area - this is a marketing issue. So if we talk about optimization, what will we look for? Would you want a Ada95 compiler compiling your source code to run like it was written in BASIC?!?! Or, would you rather have your Ada95 compiler compiling your Ada source code like it was written in pure machine language or C (heck, yeah)?!?!? I think we need to talk to some compiler programming gurus and see how far we can make them sweat (smile). Just kidding. -Ken, USAF Software Engineer/MIS "I came, I saw, I kicked some ***"