Welcome
Welcome to the forums of AntiRTFM's Absolute N00b Spoonfeed C++ Tutorials!

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!

Speed of compilers?

C++ Stuff belonging in global scope pretty much

Speed of compilers?

Postby ReiKo on Mon Jun 22, 2009 4:58 pm

As you already all know, many IDE's use different compilers that compile your code into machine code. For example, many open source IDE's like wxDevCpp and Code::Blocks or CodeLite use gcc compiler, Visual C++ uses Microsoft's compiler and Borland products uses it's own compiler.

I know this is somewhat "hot" topic, but is there any statistics or good opinions wich of these are the fastest?

Also, on other note I was somewhat confused with using this "machine code" statement, please correct me if I'm wrong but machine code is set of commands in binary ( 1's and 0's) not assembly language?

Assembly language is somewhat colesest it can get to machine code?

Thanks.
User avatar
ReiKo
 
Posts: 113
Joined: Sat May 09, 2009 5:11 pm

Re: Speed of compilers?

Postby antiRTFM on Mon Jun 22, 2009 6:27 pm

I wouldn't know about the compiler thing... nor do I really mind much. VC++ is made by microsoft's professional team. GCC is made by a hueg collaboration of ppl (the GNU project). They'r both fine i guess. But i dunno, look it up on google etc.

Yes machine code is the binary that is the CPU's instructions. I'm not sure its actually 1's and 0's but rather 1's and 0's as they are represented into hexadecimal notation (though it really depends on how you want to read the binary; if you wanna read it as hex you'll see hex. If you wanna see its pure binary form then i guess you can see all the 1s and 0s :) )

It so happens to be that binary machine code is easily translated into assembly.

http://en.wikipedia.org/wiki/Machine_code
User avatar
antiRTFM
Administrator
 
Posts: 462
Joined: Sun Apr 13, 2008 9:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests