Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > c compilation -...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 28 Topic 26135 of 26198
Post > Topic >>

c compilation - gcc vs visual c

by kumarchi@[EMAIL PROTECTED] May 9, 2008 at 12:20 PM

hello:

I recently compiled a numerically intensive c project under cygwin gcc
3.4.4 and microsoft visual c. The platform is intel T2400 1.83 ghz
dual core lap top.

the numerical stuff is both floating point and integer intensive

The gcc optimized (-O3) vs non optimized improved the performance 30 %

visual c optimized (standard , check 'release; under visual c 2005)
vs non optimized ('build') was a whopping 8x performance gain

but the most surprising thing was visual c optimized was 2x
performance over gcc optimized.

is anybody else seeing the same thing. if this is true microsoft c
compiler is in a different league altogether

i was not successful so far compiling under mingw. will it make dent ?
2x is hard to overcome




 28 Posts in Topic:
c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-09 12:20:19 
Re: c compilation - gcc vs visual c
jacob navia <jacob@[EM  2008-05-09 22:20:09 
Re: c compilation - gcc vs visual c
Ulrich Eckhardt <dooms  2008-05-09 22:32:07 
Re: c compilation - gcc vs visual c
micans@[EMAIL PROTECTED]   2008-05-09 13:38:04 
Re: c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-09 14:03:14 
Re: c compilation - gcc vs visual c
Ian Collins <ian-news@  2008-05-10 09:22:41 
Re: c compilation - gcc vs visual c
jacob navia <jacob@[EM  2008-05-09 23:50:30 
Re: c compilation - gcc vs visual c
Niz <notarealemailaddr  2008-05-09 23:08:26 
Re: c compilation - gcc vs visual c
"cr88192" <c  2008-05-10 15:28:50 
Re: c compilation - gcc vs visual c
"Sean G. McLaughlin&  2008-05-10 17:30:35 
Re: c compilation - gcc vs visual c
moi <root@[EMAIL PROTE  2008-05-09 23:21:36 
Re: c compilation - gcc vs visual c
Antoninus Twink <nospa  2008-05-10 00:13:19 
Re: c compilation - gcc vs visual c
"cr88192" <c  2008-05-10 08:41:39 
Re: c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-09 17:59:22 
Re: c compilation - gcc vs visual c
Willem <willem@[EMAIL   2008-05-10 06:20:09 
Re: c compilation - gcc vs visual c
William Ahern <william  2008-05-10 16:23:36 
Re: c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-09 18:16:26 
Re: c compilation - gcc vs visual c
Chris H <chris@[EMAIL   2008-05-10 13:32:58 
Re: c compilation - gcc vs visual c
roberson@[EMAIL PROTECTED  2008-05-10 12:49:26 
Re: c compilation - gcc vs visual c
jacob navia <jacob@[EM  2008-05-10 17:41:23 
Re: c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-10 09:49:58 
Re: c compilation - gcc vs visual c
"Sean G. McLaughlin&  2008-05-10 17:29:06 
Re: c compilation - gcc vs visual c
moi <root@[EMAIL PROTE  2008-05-10 19:18:18 
Re: c compilation - gcc vs visual c
Chris H <chris@[EMAIL   2008-05-10 18:58:15 
Re: c compilation - gcc vs visual c
Chris H <chris@[EMAIL   2008-05-10 19:00:47 
Re: c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-10 12:13:38 
Re: c compilation - gcc vs visual c
kumarchi@[EMAIL PROTECTED  2008-05-10 12:29:47 
Re: c compilation - gcc vs visual c
Rui Maciel <rui.maciel  2008-05-10 20:20:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 2:26:53 CDT 2008.