C/C++ to die anytime soon

Discussion about everything. New games, 3d math, development tips...
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

Amen :wink:
visitor

Post by visitor »

visitor wrote:...but my question is rather if some project of this size could be ported from C++ to C#, and how difficult would it be...
Please please someone answer me this
Guest

Post by Guest »

yes. level of dificulty is inversly proportional to your skill set.
jirr
Posts: 36
Joined: Sat Feb 19, 2005 8:05 am

Post by jirr »

@Visitor: You can surely convert it by doing it step by step. You could even transform it to pure java (though in this case I would prefer William's bindenlicht port the most) ...

You simply need time, a clear structure and brainware. Difficulties depend on how good you are in either language, what features your compilers do support and so on ... If you take one day per class (and if you want very good documentation it'll take longer). So go on for counting classes ^^

In fact there is an old rule: 10 lines of code per hour if you include everything in business, 100 lines if you forget about docs and 1000 if you are very very lucky and skilled and ... use CopyNPaste.

But C# WILL do add a disadvantage: you won't be able to compile it on all platforms being support by irrlicht since c++ is more widely spread than C# ...


OT: Chrome won Duke's Choice Award
Chrome game received a prestigious Duke's Choice Award granted by the Java Leadership Team of Sun Microsystems.
Among the Java Leadership Team are also Scott McNealy and James Gosling, the creators of Java language.
The award is granted for the best and the most innovative product using the Java technology.
Chrome has been chosen from many products and projects from the entire globe, acknowledging the high quality of the Techland's product. Duke's Choice
OT2: Specforce (Chrome 2) is on its way ...
visitor

Post by visitor »

Thanks dude
cmoibenlepro
Posts: 237
Joined: Thu May 27, 2004 3:18 pm
Location: Canada

Post by cmoibenlepro »

I learned Java in a course for university (i'm not in computer sciences though... accounting rules!)
I can say that I like it. The syntax of both C++ and Java are similar (even if there is differences). Also OO programming is more easy in Java.

But I don't like the fact that EVERYTHING is in a class in Java, even the things that are illogic to be in a class (like the main() function...)
So when people start to learn java, if they didn't used another language like c++ (that's the case for most people in my course), they come to think that a class is the same thing as a program.
Then, when we started to really use classes and objects, nobody understood (except me :P )

Anyway, java is good, but I prefer C++

I don't know nothing about C#, but it looks weird...
eXodus
Posts: 320
Joined: Tue Jan 04, 2005 10:07 am
Location: Canada
Contact:

Post by eXodus »

What's bad about Java is that Sun advertises it as a 100% OO language. The glitch is that it includes Datatypes :x which got nothing to do with Objects...

C# permits to declare Objects with keywords named after the dataypes. It's why I prefer C# to Java.

Still, I prefer C++ to C#, my two cents anyway...
Post Reply