Nov 8, 2009

What Scripting Language? - Java/Python/Ruby?

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting

What Scripting Language? - Java/Python/Ruby?

Giniu
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...

Comment/Reply (w/o sign-up)

seec77
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. tongue.gif

 

 

 


Comment/Reply (w/o sign-up)

ignite
QUOTE(Giniu @ Jul 8 2005, 01:09 PM) *

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.

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)


See Also,

*SIMILAR VIDEOS*
Searching Video's for scripting, language, java, python, ruby
advertisement



What Scripting Language? - Java/Python/Ruby?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com