|
|
|
|
![]() ![]() |
Jul 8 2005, 11:09 AM
Post
#1
|
|
|
Penguin Holmes Group: Members Posts: 225 Joined: 22-March 05 From: Poland Member No.: 3,163 |
Hi...
First of all I know that this place isn't best for this, but this fits into 3 different categories so I decided to place it in main category... If it fits somewhere else better, I don't mind moving it somewhere else... So now the case. We (I and few other people I know) are working on 3D engine... exactly we want to create engines for 3 platforms (Linux, Windows, Mac OS) that would have one scripting interface so we decided to integrate one of those three script languages with C++ engine to make it more portable. I was searching for some infos that would compare those 3 scripts, but with no luck... (probably I was searching to short)... Please help me - which language should I choose to get best results (especialy it's about speed but also easy of use). If you can write pros and cons while you vote I would be greatful Thanks. PS.: I know java and python but never was using them with C++, so this is new land for me... |
|
|
|
May 16 2006, 03:28 PM
Post
#2
|
|
|
Advanced Member Group: Members Posts: 157 Joined: 16-May 06 Member No.: 13,476 |
Even though it's not an option on your poll, I would really recommend using ECMAScript (a superset of JavaScript, i.e. JavaScript is an implementation of it) . It's syntax is the easiest to learn, IMHO, especially because it is so similar to Java and C(++). As for an ECMAScript engine, SpiderMonkey is definately the way to go. It is really comformant, and always on the cutting edge of the new EMCAScript specs (I think it already supports a bit of E4X), probably because it was written by Brendan Eich, the inventor of JavaScript, and is overrun by the Mozilla Foundation.
I've never tried Ruby, but I would never go with Java, primarily because I hate the language for some unknown reason, but it's also really bloated for what you're trying to do. Python is a really great language though, and also very lightweight (a 3D engine is bloated as it is). BTW, I think you shouldn't go around making a new 3D engine, but rather contribute your efforts to OGRE. I know that such a project could be really fun, but a 3D engine is a huge project, and from my experience with these types of projects, it won't go a long way. If you guys are talented 3D developers, I think you should help progress OGRE, which is already at a very stable stage, with lots of applicants. Sorry for not supporting you guys on this. |
|
|
|
Nov 17 2006, 02:00 PM
Post
#3
|
|
|
Member [ Level 1 ] Group: Members Posts: 34 Joined: 17-November 06 Member No.: 17,334 |
Hi... First of all I know that this place isn't best for this, but this fits into 3 different categories so I decided to place it in main category... If it fits somewhere else better, I don't mind moving it somewhere else... So now the case. We (I and few other people I know) are working on 3D engine... exactly we want to create engines for 3 platforms (Linux, Windows, Mac OS) that would have one scripting interface so we decided to integrate one of those three script languages with C++ engine to make it more portable. I was searching for some infos that would compare those 3 scripts, but with no luck... (probably I was searching to short)... Please help me - which language should I choose to get best results (especialy it's about speed but also easy of use). If you can write pros and cons while you vote I would be greatful Thanks. PS.: I know java and python but never was using them with C++, so this is new land for me... My vote is for python. First of all, similar application exists - blender, and internally uses python. Second, create binding to external library is very easy using SWIG. |
|
|
|
![]() ![]() ![]() |
Similar Topics
| Topics | Topics | |
|---|---|---|
|
|
|
|
Lo-Fi Version | Time is now: 8th October 2008 - 04:59 AM |