Register for your free account! | Forgot your password?

You last visited: Today at 03:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C Compilers

Discussion on C Compilers within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 12/03/2010, 22:57   #16
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
Quote:
Originally Posted by Ian* View Post
Because people trash C# here since they fail at adding "features" to their private servers so they blame the language for their problems.
Oh, right.. I almost forgot this was elitepvpers for a while there, sorry.
IAmHawtness is offline  
Thanks
1 User
Old 12/09/2010, 02:03   #17
 
Ian*'s Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 805
Received Thanks: 464
Quote:
Originally Posted by IAmHawtness View Post
Oh, right.. I almost forgot this was elitepvpers for a while there, sorry.
You better be
Ian* is offline  
Thanks
1 User
Old 12/09/2010, 06:39   #18
 
bone-you's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 1,491
Received Thanks: 536
Quote:
Originally Posted by Ian* View Post
Because people trash C# here since they fail at adding "features" to their private servers so they blame the language for their problems.
Not all of us "bashers" are a fail at the language. It is a RAD language and not designed for this. Can it do it? Yea. I can also write a CO Server in mirc scripting. Just because you can doesn't mean you should.
bone-you is offline  
Thanks
1 User
Old 12/20/2010, 00:52   #19
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Quote:
Originally Posted by bone-you View Post
Not all of us "bashers" are a fail at the language. It is a RAD language and not designed for this. Can it do it? Yea. I can also write a CO Server in mirc scripting. Just because you can doesn't mean you should.
like this?

xScott is offline  
Old 12/24/2010, 16:18   #20


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Regarding memory+C#, this is worth a checkout IMO


As for C++ compilers, it depends on the project. On Windows I personally prefer MinGW(or GCC, as you like it).
KraHen is offline  
Old 12/26/2010, 13:40   #21
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Quote:
Originally Posted by KraHen View Post
Regarding memory+C#, this is worth a checkout IMO


As for C++ compilers, it depends on the project. On Windows I personally prefer MinGW(or GCC, as you like it).
What good reason is there for using GCC on Windows over VSC++ (Microsoft's compiler)?
GCC's inline assembly is horrid in comparisons to Microsoft's inline assembler which supports Intel's syntax.
InfamousNoone is offline  
Old 12/26/2010, 14:52   #22


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
1. In school we`re learning MinGW
2. I personally don`t use ASM frequently in my code, and when I do, AT&T doesn`t make that big of a difference
3. For some reason the fact that the compiler is bound to Microsoft bugs me

It`s in 90% a personal choice
KraHen is offline  
Old 12/26/2010, 17:37   #23
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
Quote:
Originally Posted by InfamousNoone View Post
What good reason is there for using GCC on Windows over VSC++ (Microsoft's compiler)?
GCC's inline assembly is horrid in comparisons to Microsoft's inline assembler which supports Intel's syntax.
I could list many, but a clear obvious one is that Microsoft does not fully support C99 - the current version of the C standard. Let's not even mention the many many cases where it diverts from the C and C++ standards anyway.

The argument about ASM syntax is nonsense, the fact that is intel's syntax means nothing - there are other architectures out there. Like KraHen mentioned, you rarely do use embedded asm (you should have separate asm files anyway). In any event, gcc lets you choose which ASM syntax you want with the -masm compiler switch. att is default, but you can use intel.

The main argument for not using MSVC is that you want to write portable code. By default, visual studio makes this very difficult for you, so if you're planning on writing windows applications that will only ever run on windows, you might benefit from features Visual Studio has to offer. In any other case, you would spend more time configuring your project for other platforms, that any productivity gains from VS are obsolete.
unknownone is offline  
Old 12/26/2010, 21:07   #24
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Quote:
Originally Posted by unknownone View Post
The argument about ASM syntax is nonsense, the fact that is intel's syntax means nothing - there are other architectures out there. Like KraHen mentioned, you rarely do use embedded asm (you should have separate asm files anyway). In any event, gcc lets you choose which ASM syntax you want with the -masm compiler switch. att is default, but you can use intel.
I wasn't aware of this. You just made life for me and Dan a lot simpler, lol. We were working on coding on a Linux using the GCC compiler and were looking at the AT&T assembly syntax and were thinking to ourselves fuck life. But, I assume even using the Intel syntax, you still have to do it in that retarded format-string style?

Quote:
Originally Posted by unknownone View Post
The main argument for not using MSVC is that you want to write portable code. By default, visual studio makes this very difficult for you, so if you're planning on writing windows applications that will only ever run on windows, you might benefit from features Visual Studio has to offer. In any other case, you would spend more time configuring your project for other platforms, that any productivity gains from VS are obsolete.
Yeah, I had a feeling the whole portable code issue would come up. He indicated that he was writing on Windows (so I made the assumption he was writing for Windows, as I assumed he'd only be developing for himself). It's only recently where I've had to start thinking cross-platform (damn Dan...).
InfamousNoone is offline  
Old 12/27/2010, 15:43   #25


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
It is true that I`m testing my code on Windows but I still want my code to run on linux without or with minor modifications.

P.S. Java ftw. I know you love it.
KraHen is offline  
Reply




All times are GMT +1. The time now is 03:43.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.