Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ruby-fltk< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 01 2008,03:11 QUOTE

This is sort of an extension of the recent posts I made in the "DSL Editions" thread concerning FLTK.

Yesterday I attempted to make a ruby + fltk extension, mainly because i want to learn a bit about ruby, but it would probably be easier for me if I started with some simple gui programming (for console stuff I'm still most comfortable with shell scripting, and I learned Lua only because of Lua-FLTK and MurgaLua).

I got the latest ruby and fltk built in DSL 4.3, but building ruby-fltk presented some problems...mainly, i think, because I'd like it to work with the new shared fltk library, but my fltk had only the static library.

I recently downloded DSL 4.4 but have not yet booted it, so I assume that's my main problem.  I guess I could point the ruby-fltk install to use the fltk shared lib?  Any thoughts if this should be an easy thing to do to build in DSL 4.4 using the FLTK headers installed in /opt/fltk/include and the fltk lib already installed in /usr?  My FLTK is 1.1.9...is that what is installed in DSL 4.4?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: July 01 2008,08:29 QUOTE

FLTK in DSL is 1.1.9.. Can't say much for your other questions.

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 04 2008,10:28 QUOTE

sorry for the delay.  Having more puter problems, so I put this and other non-vital projects on the shelf indefinitely.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Aug. 07 2008,20:26 QUOTE

An old thread, but I feel like a chat.

I think Ruby is a really interesting, clean looking language.  It inherits a lot from Perl without Perl's oft lack of readability, is like a Perl cousin, and sometimes is regarded as the next evolution of Perl (a bit of a stretch).

I probably will learn Python first though, though I'm more attracted to Ruby's clean lines.

All of Python's triple inverted commas and the >>> and the one-way-of-doing-things I find very annoying after Perl, where there is always many ways to do anything.  But Python +/- Django is just being used so much everywhere, it's becoming the ubiquitous industry de facto scripting language for a lot of the things that Perl was used for in the past, whereas Ruby's one only big (very big) claim to fame is Rails.

Have to confess I still like Perl, even if I have to re-learn it every time I use it (lol!)
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Aug. 07 2008,20:43 QUOTE

Scripting languages are one thing and many of us have a preference for their syntax and general ease of doing things.

However, when it comes to GUI and Fltk in particular, I really don't see much benefit of any scripting language over using Fluid and the compile extension.

Since DSL v4 the Fltk shared libraries are available. Once can quickly make very small binaries with complete access to not only the Fltk widgets but tons of documentation.

Also with Fluid you don't have all the manual syntax conversions or limited access to widgets via the scripting language. For all the small GUI's in DSL one can stay within the Fluid development environment. Which means it is much easier to make changes not only in logic sections but also the GUI sections.
Back to top
Profile PM WEB 
5 replies since July 01 2008,03:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: ruby-fltk

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code