I searched a lot in the web that is Ruby good for game programming? ,found out
it's very good for game programming.

I know , here on cboard many people know Ruby, do they think same?

How powerful game you can make in Ruby?

Ruby is son of c++,so does it do the same job as c++ in game programming?

best regards,
Chakra

09-20-2008

CornedBee

Whoa, major misconception here.
1) Ruby is not the son of C++. Ruby is perhaps the grand-nephew of C++ or something like that.
2) Ruby is not good for game programming in the sense that C++ is. C++ is a high-performance language used for the speed-intensive parts of applications - most stuff of games, in fact. Ruby, on the other hand, is a highly dynamic language whose main interpreter is very slow. If used in games at all, it would be as a scripting language for mission design and stuff like that, but Lua and Python are way more popular there.
3) Do many people here on CBoard know Ruby? I didn't ever get this impression.

If you want to know more, search the web. If you cant conduct simple research on what a language is about or what it can do then give up, because you obviously don't have enough about you to cope with real problems.

If you want to know more, search the web. If you cant conduct simple research on what a language is about or what it can do then give up, because you obviously don't have enough about you to cope with real problems.

Wow. Who peed in your oatmeal?

The guy asked a question and gets his head bitten off. Maybe, just maybe, he asked the question here because this is a forum made up of people that are highly responsive and generally knowledgeable about these types of things. And generally, a little more polite.

09-20-2008

Mario F.

Quote:

Originally Posted by CornedBee

3) Do many people here on CBoard know Ruby? I didn't ever get this impression.

Me neither. But I do know Ruby to an extent. The language actually grew on me for some reason.

In any case, Ruby for game programming? As said, absolutely not!
It's not just a matter of performance. It's also an issue of the expressiveness and coding styles of the language that makes it difficult to manage one's code after the project grows to become more complex. For instance, I'm not all that happy with the fact I cannot define class members outside the class definition. A class can grow to become too hard to manage very quickly in a game-like project.

The fact function overriding is not supported tends also to complicate code and project management at the scale of a game where one of the secrets is to optimize the creation of new names (in my modest opinion, naturally).
But some may argue, probably right, that's because I got accustomed to C++ way of doing things. But there's many other issues. Just gave two examples. (EDIT: The biggest problem being probably the fact it's a dynamically typed language. I really don't look forward to have to debug a game by running it)

Sure some games can be made in Ruby. Sure some people can say because of that you can make games in Ruby. But sure, you can only make this many games on Ruby without your head exploding because it can't handle the flood of information the language forces you to retain about your project. And this goes as wel for any large-scale project in Ruby.

09-20-2008

VirtualAce

Quote:

Wow. Who peed in your oatmeal?

The guy asked a question and gets his head bitten off. Maybe, just maybe, he asked the question here because this is a forum made up of people that are highly responsive and generally knowledgeable about these types of things. And generally, a little more polite.

Actually I tend to agree with Fordy. People asking vague wide reaching questions with no point that have obvious answers or could be searched on Google tends to get bothersome. We have made every attempt to help people get better responses by demonstrating good questions and bad ones and yet people still do not heed the advice. What are we to do?

And usually on a C/C++ board you would ask questions relating to C/C++. Call me dumb or something but that's how I thought it worked. All of us talk about other things but finding one language or two or three and then spamming the board about it is not going to get you any good answers.

09-20-2008

CChakra

I ask question here to end up my curiosity.And it's good to ask questions rather than believe
in random thoughts.

Well,I ask questions here because I know c++ programmers are knowledgeable and patient
as compared to others.Because of you guys deal with many bugs and pitfalls and your mind gets
stronger and stronger dramatically.

As I said , this site is best for me so I put my questions here.It's fascinating to ask questions here.I am feeling good since I am member here.

The good thing about the site is you don't have to earn points or duke stars to get answers.

Although we are from different programming background but we are still human and all human
are connected to each other electromagnetically.

my questions are not that stupids , by the way. :p

thanks for your time.

best regards,
Chakra

09-20-2008

Sebastiani

>> Although we are from different programming background but we are still human and all human are connected to each other electromagnetically.

That's the most cosmic thing I've heard all week. :D

>> my questions are not that stupids , by the way.

Maybe not stupid so much as asinine. Just try to be relevent and avoid open-ended questions and you should be fine.

09-20-2008

CChakra

thanks for the suggestion my lord :p

10-13-2008

master5001

I tend to agree with Todd based on the following: If one asks general programming questions to us, as C/C++ programmers, (s)he is asserting that we are very knowledgeable about programming in general.

On the otherhand, Fordy is right in the sense that it is annoying when someone asks a question that you may not have an immediate answer to, but google generates you one in .42 seconds. And in 10 seconds, you have read an article that looks like it may hold the answer. And within 45 seconds, you have regurgitated what you read into a reply.

10-14-2008

sean

Agreed! Most of the more experienced users of this website use it as a way to just help people. Some are here to post questions, others to improve their own knowledge by helping people, etc. You'll find very few people who are here just to talk to people. If a question can be answered easily by a search engine, it helps the forum accomplish it's purpose for such people much more efficiently. It's hard to help others or learn something new for yourself when the problem should be solved by Google in the first place.

The board is much more effective when it's used when you need PEOPLE, to help you debug something you can't debug, when you really don't know where to begin at a search engine, or when you need to bounce ideas off of people.

(you'll find similar statements in the board's rules and policies that you all accepted when you signed up)

10-14-2008

kypronite

Quote:

Originally Posted by sean

. You'll find very few people who are here just to talk to people.

:( (Akon 'lonely' song playing in the background)

10-14-2008

master5001

I like to just talk to people here. That is kind of why I am here. A lot of my posts are riddled with references to people I have known on the boards for a while, and I make a lot of subtle jokes that reflect my personality.

Its not always easy to be personal with someone you will only ever talk to once. Particularly when that person may not even read what you said in reply to their quesiton (since that is rather common here too).