Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Ruby be used to develop simple Windows applications?

Tags:

windows

ruby

I've been developing Windows based applications for a long time and most of my present clients still desire a desktop or client/server Windows application. Is it possible to use Ruby for such applications as opposed to its primary purpose of being a Web-programming language?

like image 284
RKh Avatar asked Oct 31 '09 16:10

RKh


People also ask

Is Ruby used for app development?

The most popular apps that use Ruby include Airbnb, GitHub, Hulu, and Shopify. Thanks to its popularity among developers, Ruby has been used to build 10,000s of software applications.


1 Answers

Ruby is not primarily a web programming language even though Ruby on Rails is certainly suited for web development. Ruby is a general purpose scripting language.

The FXRuby and WxRuby frameworks are the most fully featured GUI frameworks for Ruby. You can write the apps in Ruby and then generate a Windows executable. The frameworks are cross-platform, so you could also run the apps written in these on other platforms, like Linux or Mac OS X.

There are also a few other less popular approaches like QtRuby and Shoes, and you can even use IronRuby (a CLR Ruby implementation) to write a .Net application.

like image 132
Ken Liu Avatar answered Sep 18 '22 18:09

Ken Liu