[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Power of Interpreted Languages

T. Onoma

11/10/2003 9:37:00 AM

> But, would you implement a game with ruby?

Depends on the game, of course.

Probably not 100% Ruby, but from what others have said/implied Ruby could make a good glue language to pull the compiled pieces together, as well as an embedded script language.

Others agree?


6 Answers

Simon Strandgaard

11/10/2003 9:53:00 AM

0

On Mon, 10 Nov 2003 18:36:51 +0900, T. Onoma wrote:

>> But, would you implement a game with ruby?
>
> Depends on the game, of course.
>
> Probably not 100% Ruby, but from what others have said/implied Ruby
> could make a good glue language to pull the compiled pieces together,
> as well as an embedded script language.
>
> Others agree?

I have made a tiny Tetris game using Ruby SDL (271 lines of code).
It runs smooth on my pentium350.

Its distributed with ruby-sdl as a sample:
http://www.kmc.gr.jp/~ohai/ind...

--
Simon Strandgaard

Andrew Walrond

11/10/2003 10:34:00 AM

0

On Monday 10 Nov 2003 9:36 am, T. Onoma wrote:
> > But, would you implement a game with ruby?
>
> Depends on the game, of course.
>
> Probably not 100% Ruby, but from what others have said/implied Ruby could
> make a good glue language to pull the compiled pieces together, as well as
> an embedded script language.

Absolutely. I'm working on a massive multiplayer game which has it's own
internal script language to allow players to create their own AI for
spacecraft/missiles etc. I've been thinking for a while about the feasibility
of ripping that out and replacing it with an internal ruby facility. The main
problem I see is being able to limit the resources available to each player.
I wouldn't want someone allocating some huge array and bringing the server to
its knees. I'm sure it's feasible though; Just haven't applied any thought to
the solution yet ;)

And of course the legal implications of using ruby in a commercial game, which
might be insurmountable.

Andrew Walrond


gruby

11/10/2003 2:56:00 PM

0

> And of course the legal implications of using ruby in a commercial game, which
> might be insurmountable.

Can someone expound on this? Are there problems using ruby in commercial products?

Simon Strandgaard

11/10/2003 3:08:00 PM

0

On Mon, 10 Nov 2003 06:56:02 -0800, John wrote:

>> And of course the legal implications of using ruby in a commercial game, which
>> might be insurmountable.
>
> Can someone expound on this? Are there problems using ruby in commercial products?

Ruby's regexp engine has a GPL license.

If you wish to use Ruby in a commercial product, then compile the
oniguruma regexp engine into Ruby. AFAIK.. that should be it.

--
Simon Strandgaard

Mauricio Fernández

11/17/2003 9:19:00 PM

0

On Mon, Nov 17, 2003 at 10:22:34AM +0900, Simon Strandgaard wrote:
> On Mon, 10 Nov 2003 06:56:02 -0800, John wrote:
>
> >> And of course the legal implications of using ruby in a commercial game, which
> >> might be insurmountable.
> >
> > Can someone expound on this? Are there problems using ruby in commercial products?
>
> Ruby's regexp engine has a GPL license.

LGPL, a bit nicer for commercial uses

--
_ _
| |__ __ _| |_ ___ _ __ ___ __ _ _ __
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

*** PUBLIC flooding detected from erikyyy
<lewnie> THAT's an erik, pholx.... ;)
-- Seen on #LinuxGER


Simon Strandgaard

11/17/2003 10:37:00 PM

0

On Tue, 18 Nov 2003 06:18:52 +0900, Mauricio Fernández wrote:

> On Mon, Nov 17, 2003 at 10:22:34AM +0900, Simon Strandgaard wrote:
>> On Mon, 10 Nov 2003 06:56:02 -0800, John wrote:
>>
>> >> And of course the legal implications of using ruby in a commercial game, which
>> >> might be insurmountable.
>> >
>> > Can someone expound on this? Are there problems using ruby in commercial products?
>>
>> Ruby's regexp engine has a GPL license.
>
> LGPL, a bit nicer for commercial uses

Sorry, it wasn't on purpose.. :-)

--
Simon Strandgaard