Quote:Original post by fpsgamerQuote:Original post by Eckos
I don't care if C/C++ is harder to program. But atleast it's cross-platform, cross-os, embedded etc. More than your faithful .NET MS loving language is.
You're missing a very critical, yet slight distinction:
C++ is not cross platform. Full stop. The C++ specification does not specify an ABI, making it impossible for a C++ binary to be truly cross platform. You're confusing the fact that there are C++ compilers on different platforms with being "cross platform". If that were the case, then just about every langauge would be "cross platform" as long as they have a compiler on more than one operating system and architecture.
Contrary to what you said, .NET is cross platform. That is because .NET languages are JIT compiled. Therefore they will run an any platform for which there is a run-time.Quote:Original post by Eckos
MS fanboys?
I think you can teach us a little something about being a fanboy.
C++ is cross platform. The source is you just need to compile it. C# isn't cross platform for one. Microsoft controls it (not including Mono which is different). And yes there is a C++ compiler on every operating system. Because you forgot C# didn't just come out of nothing. And if I didn't look at the source it was made from C++. And probably has Microsoft specific coding in it that isn't cross-platform.
Yeah sure any language is able to be croos-platform/os. But it's developers who stop it. Microsoft knows that if released it for other OS's they would go out of business. Why else does it screw over OpenGL. Making it wrap around directx. But thats another topic.
And C++ is more useable in terms of use. Than say C#. C++ can adapt every language out there through the language's headers. So if you say C++ sucks. Think again, it was used to write your languages ;).
If C# is so great why don't you compile a video driver with it, and a kernel and an whole OS without using assembly, C, C++. Oh wait you can't. Even that somewhat C# OS out there still required Assembly, C, C++ on certain parts. You still need Assembly/C/C++.
And what fanboy am I? I still use Vista and Linux together dual boot. So I can't be either one of those. This is a C++ topic. not C# ;) So if you hate C++ why you in here?
But atleast I'm not tied down to a system. I never said it wasn't hard. I have a few hard problems with it heree and there. I haven't mastered it. And never will. C# is limited to certain things unlike C++
Why do certain companies still prefer C++ over your beloved C#.
The reason I picked C++ over C#. Is because I wanted cross-os. Windows, Linux, MacOSX for it to run on their. Not be tied down to Microsoft. (Mono isn't nowhere catching up to .NET. So it doesn't count. Talking about the real .NET frame.