From: John Carter Organization: Dpt Water Affairs & Forestry (IWQS) To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Fri, 13 Oct 1995 12:26:40 +0200 Subject: GNAT vs C++ performance. Greetings All, I am contemplating moving to GNAT ADA for my next project, but before I do, I would like to know how the performance compares with DJGPP C++. I DON'T want to start a flame war on the relative merits of the languages. Merely a friendly couple of questions about run time performance. I am expecting to do some fairly compute intensive tasks and I can't cope with factor 3 or more speed decrease. Does anyone have the results on... 1) Runtimes of an integer op intensive program. 2) Runtimes of a floating point intensive program. 3) Runtimes of the ADA fixed point type vs C++ floats. 4) Compile times for similar programs. I don't need anything fancy, just really simple programs that you may have lying around in both C++ and ADA. I'm not after precision, just a rough idea. And lastly, have you come accross any hidden gotcha's that might bite one while trying to write a major program. Eg. Crippled I/O, memory limits, no graphics etc. etc. Thanks muchly, John Carter Institute for Water Quality Studies. Department of Water Affairs. Internet : ece AT dwaf-hri DOT pwv DOT gov DOT za Phone : 27-12-808-0374x194 Fax : 27-12-808-0338 [Host for Afwater list server] Let's keep this matter in perspective. One insignificant galaxy, one of the thousands of millions of galaxies, has a small yellow sun on its outer rim. About this sun orbits a molten iron ball. On the surface of this ball is a very thin crust of silica slag. This crust is partly coated by a microscopically thin layer of carbon hydrogen compounds. Some of which has delusions of grandeur.