Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

REBOL, 'call, and alternatives to REBOL

 [1/1] from: mh983::attbi::com at: 20-Mar-2003 15:22


I agree with recent comments from pekr about making 'call part of the free versions of REBOL. I just had a case where I was writing/modifying a very simple server based mp3 player for personal use. I had just one line where I need to execute the mp3 player: "mpg321 -q songname.mp3". I really wanted to do this script in REBOL, but that one line of code would have cost me $100 (for View/pro), or $250 for view/command. So instead I used python. Now python is already on the server and rather than use two languages, next time I need a script I'll probably just use what's already there. Somebody once asked what good alternatives there are to REBOL. It's always seemed to me that the real strength of REBOL is that it's a relatively complete package. You can write applications that access a database, have a rich GUI and many other things without requiring any extra modules, add-ons, plugins, etc. Java is similar in this respect although more full featured but also enormous. So if you look at some of the popular alternatives, like Python or Ruby, they all have the same problem, there is no built in GUI and no built in database access. Libraries/modules exist for this for bindings to mysql and wxWindows, but they are separate installs, separate projects and therefore separate headaches to get configured and working. And how do you deliver such a thing? Versus REBOL with encap. Tcl/Tk is a very interesting alternative to REBOL. Look at how to define a window with a button in Tk. It is similar to View and is pretty simple. However, Tcl has the same problems as the others. I couldn't find a native database driver (written in REBOL), and you need a separate library to even display jpeg images. One thing that all of these have that REBOL/View is really lacking is layout managers. You shouldn't have to write code to manually handle the resizing of elements in the GUI, but that's another topic.