• C,C#,C++,Objective-C?
    18 replies, posted
Noob here, what is the main differences? Is it hard to jump from C++ to Objective-C or etc? Just curious, I want to learn them all as it seems to be essential to game programming.
I like X better than Y, because X has a feature that is easier to use than Y, because of this X is better. Also, personal bias towards X because I use it.
[QUOTE=alecdude;28098550]I like X better than Y, because X has a feature that is easier to use than Y, because of this X is better. Also, personal bias towards X because I use it.[/QUOTE] Are you pretty much saying there the same thing with different features?
They aren't exactly the same thing but they are similar. If you learn one you can learn the other somewhat easily. I don't know about Objective C though.
Isn't Objective-C used mainly for development of applications for the iPhone/iPad/etc?
I've heard that C++ is the easiest starting place for branching into other languages.
If you're starting out, C# is good for game development. You have XNA and OpenTK available, both great tools to access DirectX and OpenGL. For the deeper stuff, C++ is the natural progression. Greater flexibility allows you to squeeze the most performance out of your programs. But it comes at the cost of being a bit more difficult (IMO) to use. Objective-C is really only used for iOS and OS X development. It's rather different from the rest, but the concepts remain the same.
[QUOTE=CrashSpyro;28098680]Are you pretty much saying there the same thing with different features?[/QUOTE] I meant my post to be a generic response for these types of threads, seeing as several of them have occurred within the last week or so.
[QUOTE=alecdude;28101743]I meant my post to be a generic response for these types of threads, seeing as several of them have occurred within the last week or so.[/QUOTE] There's been like one a week since the Programming forum started.
C# is good in terms of scripting, C is really a bit of a no go unless you learn SDL and C++ is better then C# if you are looking for render and library support.
[QUOTE=Vbits;28104358]C# is good in terms of scripting[/QUOTE] Eh, not really [editline]17th February 2011[/editline] If I wanted to add scripting support to something, I'd probably be looking for a dynamic, freeform language
I personly like to implement scripting for small projects using object orientated programming, makes the whole system faster and easier to add content, though maybe in later years and bigger projects I will see it your way.
[QUOTE=Vbits;28104558]I personly like to implement scripting for small projects using object orientated programming, makes the whole system faster and easier to add content, though maybe in later years and bigger projects I will see it your way.[/QUOTE] Nearly all popular scripting languages support OOP. Just integrate V8, Lua, Python or something.
[QUOTE=caesium;28101617]If you're starting out, C# is good for game development. You have XNA and OpenTK available, both great tools to access DirectX and OpenGL. For the deeper stuff, C++ is the natural progression. Greater flexibility allows you to squeeze the most performance out of your programs. But it comes at the cost of being a bit more difficult (IMO) to use. Objective-C is really only used for iOS and OS X development. It's rather different from the rest, but the concepts remain the same.[/QUOTE] you can't do deep stuff in C#? damn it :(
[QUOTE=efeX;28110103]you can't do deep stuff in C#? damn it :([/QUOTE] What do you mean by deep? C# can do some fairly in depth things, just requires a bit more work and a bit of thinking outside the box.
[QUOTE=atom0s;28113729]What do you mean by deep? C# can do some fairly in depth things, just requires a bit more work and a bit of thinking outside the box.[/QUOTE] I think he means stuff a bit closer to the hardware.
The question is why would you want to do hardware level programming, if you don't even know what language to choose?
[QUOTE=atom0s;28113729]What do you mean by deep? C# can do some fairly in depth things, just requires a bit more work and a bit of thinking outside the box.[/QUOTE] I think he means C++ is more bare bones, you can craft your own classes and functions to handle the workload instead of using Microsoft's standard .NET classes and functions, allowing you to squeeze every bit of performance out of your application if you are capable of doing it. That isn't to say you can't write classes or functions in C#, you can, you just wouldn't be able to get to the meat of it and optimize the features suited to your needs specifically. C++ also allows for some neat wizardry and hacky things, which sometimes can be fun to play with.
C# is all I work with when doing application development, if I am doing opengl/engine I use c++. C# is slower than c++ but not terribly so. C# is managed code, so it is convenient. C++ is manual garbage collection, but "allows for some neat wizardry and hacky things" (S0beit) which really are neat. Never messed with objective-c, but I have heard from others that it is terrible. Again, not my words.
Sorry, you need to Log In to post a reply to this thread.