Josh Posted August 24, 2010 Share Posted August 24, 2010 Here's some results I found. I might not have found all the MSVC optimization options, but here's what I got to the best of my knowledge. It's surprising MSVC debug mode compiles faster than release? That might indicate additional optimization settings I missed. 23,000 lines GCC, no optimization - 0:12 MSVC, no optimization, release - 2:46 MSVC, no optimization, debug - 1:01 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Roland Posted August 24, 2010 Share Posted August 24, 2010 So GCC is roughly about 20 times faster than MSVC. Interesting result. I have not used the GCC compiler for some years but in old days GCC used to be slower. Things seems to have changed then. Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Josh Posted August 24, 2010 Author Share Posted August 24, 2010 The faster debug compile makes me tend to think there are some optimizations I did not turn off. Normally I would expect the debug build to be slower. Perhaps the debug build turns off all optimization, because it assumes you are just testing? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted August 24, 2010 Share Posted August 24, 2010 In all honesty, for me, the compile time means very little since VS offers a much better IDE than I've seen any other that allows the use of GCC, and that speeds up development. Quote Link to comment Share on other sites More sharing options...
Canardia Posted August 24, 2010 Share Posted August 24, 2010 Some people use VC++ IDE only as text editor because it has quite nice search features. So you can use VC++ IDE for GCC also. You can then make a compile button which runs g++.exe or a mingw32-make.exe. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Roland Posted August 24, 2010 Share Posted August 24, 2010 For those who wants to use GCC and still have an nice open source IDE you can have a look at CodeBlocks Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
Canardia Posted August 24, 2010 Share Posted August 24, 2010 Then also CodeLite is a nice IDE for gcc and other compilers: http://www.codelite.org/ I like the big tooltip popup where you can have multiple lines of documentation and maybe even a short example and also links. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Roland Posted August 24, 2010 Share Posted August 24, 2010 Then also CodeLite is a nice IDE for gcc and other compilers: http://www.codelite.org/ I like the big tooltip popup where you can have multiple lines of documentation and maybe even a short example and also links. Yes. That one looks cool. Didn't know about it. Thanks Quote Roland Strålberg Website: https://rstralberg.com Link to comment Share on other sites More sharing options...
kennar Posted August 24, 2010 Share Posted August 24, 2010 Yes. That one looks cool. Didn't know about it. Thanks In addition to Vim, what I use, and Codeblocks you may find U++ (http://www.ultimatepp.org/) interesting. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.