[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Gtk/Gnome-Applications with Ruby or Mono

Michael Gebhart

2/5/2005 12:29:00 AM

Hi,

I'm currently thinking about writing an application for the gnome-desktop.
But I can not decide, what language I should use for. I'm just interested
in Ruby, C# and C++.

C++ gives me all features gtk/gnome has. gtkmm is a nice wrapper for gtk+.
But programming with c++ is a little bit error-prone and the development
time is very large.

Mono seems to be designed for gtk and gnome. The gnome-libs are
implemented in mono, and gtk (2.4) too. But the disadvantage is, that Mono
has to be installed on the target system. (And Mono smells of Microsoft
and I have .exe - Files on my linux *scnr*)

Ruby is the language I am personally interested in. Also here gtk-bindings
are available. But some ruby-users told me, that the ruby-gnome-bindings
are a little bit unstable and a lot of features are not implemented yet.

And as Mono: Ruby has to be installed on the target OS.

So I don't know, what language I should prefer. Normally I should choose
the language, by what language is the best one for my application. But
every language has all the features I need.

Can you tell me anything about the ruby-gtk/gnome-bindings and its
features and its stability?

Or should I use Mono? Because Mono becomes the standard for development
GUI-Applications for the Gnome-Desktop?

Thanks for your answers

Mike
7 Answers

James Britt

2/5/2005 1:35:00 AM

0

Michael Gebhart wrote:
>
> And as Mono: Ruby has to be installed on the target OS.

Something to consider: there are Ruby tools that bundle-up a complete
Ruby interpreter with an application such that the end user knows
nothing about any of this "Ruby" stuff, they just run the app and enjoy
the fruits of your labor. The extraction and use of Ruby is invisible.

That may also be possible with Mono, but I believe the required mono
runtime files are much larger.

James


Bill Atkins

2/5/2005 1:40:00 AM

0

I'm not sure if gtk-bindings is the same thing, but the way to go for
Ruby GTK programming is http://ruby-gnome2.sour... . I use the
bindings on Windows and Linux, and I've never had any issues with
stability.

Bill

On Sat, 5 Feb 2005 09:35:14 +0900, Michael Gebhart <mail@miketech.net> wrote:
> Hi,
>
> I'm currently thinking about writing an application for the gnome-desktop.
> But I can not decide, what language I should use for. I'm just interested
> in Ruby, C# and C++.
>
> C++ gives me all features gtk/gnome has. gtkmm is a nice wrapper for gtk+.
> But programming with c++ is a little bit error-prone and the development
> time is very large.
>
> Mono seems to be designed for gtk and gnome. The gnome-libs are
> implemented in mono, and gtk (2.4) too. But the disadvantage is, that Mono
> has to be installed on the target system. (And Mono smells of Microsoft
> and I have .exe - Files on my linux *scnr*)
>
> Ruby is the language I am personally interested in. Also here gtk-bindings
> are available. But some ruby-users told me, that the ruby-gnome-bindings
> are a little bit unstable and a lot of features are not implemented yet.
>
> And as Mono: Ruby has to be installed on the target OS.
>
> So I don't know, what language I should prefer. Normally I should choose
> the language, by what language is the best one for my application. But
> every language has all the features I need.
>
> Can you tell me anything about the ruby-gtk/gnome-bindings and its
> features and its stability?
>
> Or should I use Mono? Because Mono becomes the standard for development
> GUI-Applications for the Gnome-Desktop?
>
> Thanks for your answers
>
> Mike
>
>


--
$stdout.sync = true
"Just another Ruby hacker.".each_byte do |b|
('a'..'z').step do|c|print c+"\b";sleep 0.007 end;print b.chr
end; print "\n"


Michael Gebhart

2/5/2005 1:44:00 AM

0

Hi,

thanks for your answer. Sounds really nice. Do you know benchmarks for
ruby? And the memory needs?

Greetings

Mike

Michael Gebhart

2/5/2005 1:47:00 AM

0

Hi

yes, I know this URL. But the gnome-part is not fully implemented yet. And
I've read, that the implementation is not very good, but if you don't have
any problems... hm.

Do you know any benchmarks for ruby?

Greetings and thanks

Mike

Bill Atkins

2/5/2005 3:59:00 AM

0

Ah, my mistake. I was referring only to the Gtk+ part, I've never
touched the GNOME bindings. Sorry about the confusion.

Bill

On Sat, 5 Feb 2005 10:50:15 +0900, Michael Gebhart <mail@miketech.net> wrote:
> Hi
>
> yes, I know this URL. But the gnome-part is not fully implemented yet. And
> I've read, that the implementation is not very good, but if you don't have
> any problems... hm.
>
> Do you know any benchmarks for ruby?
>
> Greetings and thanks
>
> Mike
>
>


--
$stdout.sync = true
"Just another Ruby hacker.".each_byte do |b|
('a'..'z').step do|c|print c+"\b";sleep 0.007 end;print b.chr
end; print "\n"


gabriele renzi

2/5/2005 9:01:00 AM

0

Michael Gebhart ha scritto:
> Hi,
>
> thanks for your answer. Sounds really nice. Do you know benchmarks for
> ruby? And the memory needs?
>

it is slower than mono, but in this case the most of the hard part is
done from Gtk that is written in C. As for memory, I can't say, but
..net/mono applications seem to use quite a bit of memory.

Nikolai Weibull

2/5/2005 11:55:00 AM

0

* Michael Gebhart (Feb 05, 2005 12:40):
> yes, I know this URL. But the gnome-part is not fully implemented yet.

Eh, not much missing though...

> And I've read, that the implementation is not very good, but if you
> don't have any problems... hm.

Eh, where have you read this? I'd venture as far as to say that it's a
very good implementation,
nikolai

--
::: name: Nikolai Weibull :: aliases: pcp / lone-star / aka :::
::: born: Chicago, IL USA :: loc atm: Gothenburg, Sweden :::
::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 :::
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}