Programming In Multiple Languages

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
davidthefat
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 529
Joined: Mon Nov 10, 2008 3:51 pm
Current Project: Fully Autonomous Robot
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: California
Contact:

Programming In Multiple Languages

Post by davidthefat »

I want to see if its wise to program the same program in 2 languages. 2 totally identical but irrelevant (as in they dont interact with each other) games using 2 different languages like C++ and Java. I want to try this and see how it comes out, Java as you know can be run on any OS but so can C++, but Java can run on the browser. I will be using SDL and OpenGL on C++ and AWT (unless someone can suggest a better alternative) and Jogl or Lwjgl. I think this can be a great learning experience for me or other people that might want to try this. IDK I think it will force me to focus on the actual logic and stuff and not on syntax

I can make them interact with each other by making a server using C++ and MySQL, so theoretically they can still "Interact" with each other
wearymemory
Chaos Rift Junior
Chaos Rift Junior
Posts: 209
Joined: Thu Feb 12, 2009 8:46 pm

Re: Programming In Multiple Languages

Post by wearymemory »

It's the new age, let's Swing!
User avatar
davidthefat
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 529
Joined: Mon Nov 10, 2008 3:51 pm
Current Project: Fully Autonomous Robot
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: California
Contact:

Re: Programming In Multiple Languages

Post by davidthefat »

wearymemory wrote:It's the new age, let's Swing!
I thought Swing was just the rendering part, I thought AWT handles all the input
X Abstract X
Chaos Rift Regular
Chaos Rift Regular
Posts: 173
Joined: Thu Feb 11, 2010 9:46 pm

Re: Programming In Multiple Languages

Post by X Abstract X »

If you use JOGL you will have to use awt for input. With LWJGL however, it handles input too. LWJGL is also a lot cleaner, more stable, and makes more sense because JOGL is object-oriented (over complicates everything, especially if you already have experience using openGL in C++). In the past people used JOGL because it was supported by Sun, but it was dropped recently.
Post Reply