![]() |
|
Digital Mars Compiler .... Vroooom! |
HoopsMan
Member #1,943
February 2002
|
I was searching around for good optimizing compilers, and the name Symantec popped up. Edit : kick donkey ?!?!?!?! |
Korval
Member #1,538
September 2001
![]() |
I don't see anything about its alleged VC++ compatibility. It seems to not be able to use a regular .lib or .dll; instead wanting me to convert them to some other format. The fact that they need to change actual code to get things like MFC and ATL running should testify to their VC++ compatibility. Unless they start getting as ANSI C++ as VC++'s compiler, I'll steer clear. |
HoopsMan
Member #1,943
February 2002
|
The VC++ compatibility I was talking about was in the language used rather than the ANSI standard. Things like __asm keywords and such. The online manual talks in length about how they try to be as close to VC++ coding standards as possible. |
Bob
Free Market Evangelist
September 2000
![]() |
I tried DMC on some of my test bench code. It optimizes well, but not as good as MSVC. I was working on an optimized hash map, so I got it compiled on several compilers to see how well they're able to optimize. I'll publish the source code with compiler settings later on, once I'm happy with the code base. For reference, the code produced by gcc 2.95.3-6, MSVC 6, 7 and DMC are within 5% of each other speed wise. I haven't tried GCC 3.x yet. Oh, and DMC does't know about the std namespace. HoopsMan: What switches did you pass to GCC when compiling your program? I hope you used -O2 -fomit-frame-pointer -ffast-math -march=i686 to match MSVC's -Ox -GA6 and DMC's -o -6 -- |
HoopsMan
Member #1,943
February 2002
|
Bob : Actually, I used '-O3' along with the others you specified. I dont use VC so I don't have a clue of it's optimisation capabilities. But will that still produce a 200% percent speed boost? Seems too much. The C++ problems are quite apparent, but will that be a problem for Allegro porting..considering it's basically a C library? |
|