Ask a Question related to Ruby, Design and Development.
-
T. Onoma #1
Power of Interpreted Languages
Some general questiosn concerning interpreted lanaguages (and their JIT couterparts).
How far do you think an interpreted language can go? In otherwords, to what extent could the more traditional set of compiled c/c++ programs on a system be replaced by interpreted versions.
We all know that scripting is great for good many tasks, but could scripting make for a good word processor, for instance? How about a Desktop Enviornment or Window Manager?
To what extent can Ruby programs be utilized to displace traditional binary apps on my PC?
Comments...thoughts?
-t
T. Onoma Guest
-
ASP Code not interpreted
Hi there, I am storing asp code as content in a table field (MS SQL Server). When I try to display it via a HTML page only the HTML is... -
Antwort: Power of Interpreted Languages
Ohyea But, would you implement a game with ruby? -
Stuff inside <? ... ?> not being interpreted
Hi all. I have some scripts that switch between plain HTML and PHP. eg: <img src="<? echo($myimage) ; ?>" alt="myimage.jpg"> On my old... -
[PHP] PHP - Interpreted or Compiled Language
Thanks jay for quick response I'll tell you what really forced me to go in the matter of interpreted or Compiled language. In the heart of PHP... -
[PHP] PHP - Interpreted or Compiled Language
PHP is most definitely an interpreted language. -Jackson On Thursday 14 August 2003 8:37, breath wrote: -- jackson miller cold feet... -
Thomas Adam #2
Re: Power of Interpreted Languages
--- "T. Onoma" <transami@runbox.com> wrote:
Not this tired old refrain again.... Every task has a purpose, so it> Some general questiosn concerning interpreted lanaguages (and their JIT
> couterparts).
>
> How far do you think an interpreted language can go? In otherwords, to
> what extent could the more traditional set of compiled c/c++ programs on
> a system be replaced by interpreted versions.
really doesn't matter to what extend which language you use. Yes, perhaps
there are languages out there more suited to performing certain tasks than
others...
For example, I wouldn't want to see a high-end graphics game written in
Ruby, it would be too slow.
No -- too slow.> We all know that scripting is great for good many tasks, but could
> scripting make for a good word processor, for instance? How about a
> Desktop Enviornment or Window Manager?
This sounds very much like a homework assignment....> To what extent can Ruby programs be utilized to displace traditional
> binary apps on my PC?
-- Thomas Adam
=====
Thomas Adam
"The Linux Weekend Mechanic" -- [url]http://linuxgazette.net[/url]
"TAG Editor" -- [url]http://linuxgazette.net[/url]
__________________________________________________ ______________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger [url]http://mail.messenger.yahoo.co.uk[/url]
Thomas Adam Guest
-
Aredridel #3
Re: Power of Interpreted Languages
> > We all know that scripting is great for good many tasks, but could
A counter-argument: Look at SawFish. It's critical sections are written>> > scripting make for a good word processor, for instance? How about a
> > Desktop Enviornment or Window Manager?
> No -- too slow.
in C, using GTK and GDK to do drawing routines. However, the logic of
the window manager is written in Scheme/REP. Sawfish is also incredibly
flexible beacuse of this, Scheme being as dynamic as it is.
I don't think that being interpreted makes this possible, it is being
dynamic. That said, dynamic is usually a feature of interpreted
languages, not compiled. (The most notable exception I can think of
being Objective C.)
Sawfish is plenty fast -- faster than Metacity, often, which is written
in C alone.
I'd love to see many apps written in Ruby/Gnome2, or at least large
sections. A word processor with the logic written in Ruby would be easy
to hack, easy to fix. Same for other apps. In my experience, it's fast
enough.
(This is why Emacs is popular, too...)
Ari
Aredridel Guest
-
Dave Thomas #4
Re: Power of Interpreted Languages
On Nov 7, 2003, at 13:31, Thomas Adam wrote:Andy and I've written an X-11 window manager, mostly in Ruby...>>> We all know that scripting is great for good many tasks, but could
>> scripting make for a good word processor, for instance? How about a
>> Desktop Enviornment or Window Manager?
> No -- too slow.
>
Cheers
Dave
Dave Thomas Guest
-
John W. Long #5
Re: Power of Interpreted Languages
Wow. Can we download it somewhere?
___________________
John Long
[url]www.wiseheartdesign.com[/url]
----- Original Message -----
From: "Dave Thomas" <dave@pragprog.com>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Friday, November 07, 2003 8:18 PM
Subject: Re: Power of Interpreted Languages
>
> On Nov 7, 2003, at 13:31, Thomas Adam wrote:>> >> >> We all know that scripting is great for good many tasks, but could
> >> scripting make for a good word processor, for instance? How about a
> >> Desktop Enviornment or Window Manager?
> > No -- too slow.
> >
> Andy and I've written an X-11 window manager, mostly in Ruby...
>
> Cheers
>
>
> Dave
>
>
>
>
>
John W. Long Guest
-
Dave Thomas #6
Re: Power of Interpreted Languages
On Nov 7, 2003, at 21:30, John W. Long wrote:>> Andy and I've written an X-11 window manager, mostly in Ruby...Sorry - it was for a client (and it was fairly specialized: it was> Wow. Can we download it somewhere?
>
designed for an internet kiosk, so it's main job was to control rigidly
which windows could be displayed, and where)
Cheers
Dave
Dave Thomas Guest
-
George Ogata #7
Re: Power of Interpreted Languages
"John W. Long" <ng@johnwlong.com> writes:
There is an open source ruby-scriptable X11 WM out there.> Wow. Can we download it somewhere?
[url]http://kahakai.sourceforge.net[/url]
I've yet to try it, but I'd love to hear more opinions of it.
George Ogata Guest
-
T. Onoma #8
Power of Interpreted Languages
> 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?
T. Onoma Guest
-
Simon Strandgaard #9
Re: Power of Interpreted Languages
On Mon, 10 Nov 2003 18:36:51 +0900, T. Onoma wrote:
I have made a tiny Tetris game using Ruby SDL (271 lines of code).>>> 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?
It runs smooth on my pentium350.
Its distributed with ruby-sdl as a sample:
[url]http://www.kmc.gr.jp/~ohai/index.en.html[/url]
--
Simon Strandgaard
Simon Strandgaard Guest
-
Andrew Walrond #10
Re: Power of Interpreted Languages
On Monday 10 Nov 2003 9:36 am, T. Onoma wrote:
Absolutely. I'm working on a massive multiplayer game which has it's own>> > 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.
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
Andrew Walrond Guest
-
John #11
Re: Power of Interpreted Languages
> And of course the legal implications of using ruby in a commercial game, which
Can someone expound on this? Are there problems using ruby in commercial products?> might be insurmountable.
John Guest
-
Simon Strandgaard #12
Re: Power of Interpreted Languages
On Mon, 10 Nov 2003 06:56:02 -0800, John wrote:
Ruby's regexp engine has a GPL license.>>> 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?
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
Simon Strandgaard Guest
-
Mauricio Fernández #13
Re: Power of Interpreted Languages
On Mon, Nov 17, 2003 at 10:22:34AM +0900, Simon Strandgaard wrote:
LGPL, a bit nicer for commercial uses> 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.
--
_ _
| |__ __ _| |_ ___ _ __ ___ __ _ _ __
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
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
Mauricio Fernández Guest
-
Simon Strandgaard #14
Re: Power of Interpreted Languages
On Tue, 18 Nov 2003 06:18:52 +0900, Mauricio Fernández wrote:
Sorry, it wasn't on purpose.. :-)> 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
--
Simon Strandgaard
Simon Strandgaard Guest



Reply With Quote

