Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I'll begin developing cross platform applications, The complied file speed is very important for me .

I have research before than and find same result about IDE :

(I ignored eclipse because very java base, but not complete)

for IDE :

  1. NetBeans C/C++ IDE .
  2. CodeBlocks .
  3. CodeLite .
  4. or others .

And for complier || framework || toolkit :

  1. QT toolkit or UnitTest++ .
  2. gnu g++ .
  3. gnu gcc .
  4. wxWidgets .
  5. cygwin .
  6. VC++ .
  7. or others.

But I watch to some QT apps are very dependent to QT's libs :( , It's not good and decrease speed.

Now my real question if I want start project what is the best IDE with debugger ,what is the best compiler that give fast speed native code to me, or I force use multi-compiler for any OS ?

& please say your reason why that IDE & why that complier.

share|improve this question

closed as not constructive by Walter, Glenn Nelson, Mason Wheeler, GlenH7, Greg Hewgill Jan 18 '13 at 1:02

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

You are going to have to give us more details about what you are trying to build. There is no singular "fastest" anything in this field. – whatsisname Jan 17 '13 at 23:56
I'm confused, gnu gcc is a C compiler, gnu g++ is the C++ gnu compiler. Also it doesn't make much sense to ask someone to choose between Wx and g++, they're totally orthogonal – jozefg Jan 18 '13 at 0:11
Thanks for comment , @whatsisname : I want write same 3D little engine & XML Parser for manage SMS in server. – Mahdi Parsa Jan 18 '13 at 0:19
@jozefg : Thanks , what is the IDE you say ? – Mahdi Parsa Jan 18 '13 at 0:21
Does free/commercial editors make any difference in your decision making? – Shamim Hafiz Jan 18 '13 at 0:21
up vote 2 down vote accepted

The GNU C++ compiler has been worked on for many years to the point that nowadays it can compile binaries for a diverse range of target platforms in terms of operating system / host environment, processor and even binary format.

You can use GNU C++ compiler along with GDB debugger on many platforms already - Linux, Mac, Windows and others. There are a multitude of IDEs that also can use g++ with GDB - you already list a good selection. Most of these are highly capable, but I think that Eclipse stands out as it is both cross-platform and highly configurable/extensible. This means that there is a vast array of additional features available through plugins.

Although aome people may say that Eclipse is a bit slow to ue, C++ developers really care about runtime performance rather than edit-compile-debug time, so I'll assume you mean that the fastest native runtime rather than native compile time.

This is where it gets more complex. While the G++ compiler front end is shared across platforms, the backend code generators can vary. If you're asking for x86 or ARM processors, it's likely that large companies such as Apple have helped tune the back end here. .


No amount of tuning of the generated code can make up for poor algorithm choice.

That you're asking about the performance this early seems wrong - surely you want productivity and accuracy/stability first?

Make it work, then make it fast.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.