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
Programming In Multiple Languages
Moderator: Coders of Rage
- davidthefat
- 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:
-
- Chaos Rift Junior
- Posts: 209
- Joined: Thu Feb 12, 2009 8:46 pm
Re: Programming In Multiple Languages
It's the new age, let's Swing!
- davidthefat
- 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
I thought Swing was just the rendering part, I thought AWT handles all the inputwearymemory wrote:It's the new age, let's Swing!
-
- Chaos Rift Regular
- Posts: 173
- Joined: Thu Feb 11, 2010 9:46 pm
Re: Programming In Multiple Languages
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.