[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Ruby and .NET

Joe Van Dyk

3/9/2006 6:45:00 PM

I've written a couple Ruby programs that run on Linux using
ruby-gnome2 as the GUI toolkit. Say I get asked to port them over to
Windows (2000 and up).

How would I go about slapping a .NET GUI frontend on it? (I'm
assuming using .NET is the way to go these days)

Joe


7 Answers

greg.kujawa

3/9/2006 6:48:00 PM

0

Joe Van Dyk wrote:

> I've written a couple Ruby programs that run on Linux using
> ruby-gnome2 as the GUI toolkit. Say I get asked to port them over to
> Windows (2000 and up).
>
> How would I go about slapping a .NET GUI frontend on it? (I'm
> assuming using .NET is the way to go these days)
>
>
> Joe


Check out http://rubydotnet.source....

Michael Trier

3/9/2006 7:04:00 PM

0

The progress on John Lam's Ruby to .NET bridge is much further along.
I would look into that. John has done some impressive stuff:

http://www.iu...

Michael


Michael Trier

3/9/2006 7:05:00 PM

0

Let me clarify, when I originally looked at it. I haven't checked out
rubydotnet in a while.

Michael


Jamey Cribbs

3/9/2006 7:19:00 PM

0

Joe Van Dyk wrote:

>I've written a couple Ruby programs that run on Linux using
>ruby-gnome2 as the GUI toolkit. Say I get asked to port them over to
>Windows (2000 and up).
>
>How would I go about slapping a .NET GUI frontend on it? (I'm
>assuming using .NET is the way to go these days)
>
>
Joe, just curious why you wouldn't just use the Windows version of
Ruby-Gtk2? Is it because of look&feel?

If it's stability concerns, I've written a couple of Ruby-Gtk2 apps that
run on Windows every day and my users report no problems.

Jamey


Florian Groß

3/9/2006 7:44:00 PM

0

John Lam

3/9/2006 10:03:00 PM

0

My RubyCLR bridge should let you do what you're looking for - the drop
that's out there in circulation now has a simple RSS reader built as a
Windows Forms 2.0 application. I've also built a non-trivial 3D Avalon (WPF)
app using an earlier version of the bridge, although I'm just revisiting
that stuff now.

The current drop is almost 3 weeks old - it's about due for a refresh :) My
private builds now have a ton of new features; off the top of my head there
is:

- support for interfaces
- a lot of really cool Reflection features to make prototyping .NET code in
irb *much* nicer
- a ton of perf and reliability work; 80% of the C++ part of the bridge was
re-written.
- much better support for a few data binding scenarios (such as data binding
against native Ruby arrays)
- support for generics (I don't resolve method overloads against generic
types correctly now - I'm punting that to the next release)
- proper support for array creation

-John
http://www.iu...

Joe Van Dyk

3/9/2006 11:22:00 PM

0

On 3/9/06, Florian Groß <florgro@gmail.com> wrote:
> Jamey Cribbs wrote:
>
> > Joe, just curious why you wouldn't just use the Windows version of
> > Ruby-Gtk2? Is it because of look&feel?
> >
> > If it's stability concerns, I've written a couple of Ruby-Gtk2 apps that
> > run on Windows every day and my users report no problems.
>
> Look&Feel are pretty much OK as well if you change the GTK renderer to WIMP.

Hm... I'll have to see how ruby-gnome2 operates on Windows. I really
prefer native GUI toolkits though. I'd probably design a Windows UI
completely different than a Linux UI (and also probably different on
OS X).