Skip to page content or skip to Accesskey List.
Search evolt.org
evolt.org login: or register

Work

Main Page Content

If you plan to evolt, join the REBOLs

Rated 3.74 (Ratings: 1) (Add your rating)

Log in to add a comment
(4 comments so far)

Want more?

 
Picture of wcb4

William Byrd

Member info | Full bio

User since: September 05, 1999

Last login: September 05, 1999

Articles written: 1

While doing some research recently, I stumbled upon something that, as a web developer and Perl programmer, nearly flattened me, at the very least it required me to pick my jaw up off the floor. That something was Rebol.

Rebol bills itself as an internet messaging language, and that seems to be exactly what it is first and formost, but with lots of little tricks up its sleeve.

While Perl is somewhat cross-platform (not all, but many script will run on other platforms with some modifications) Rebol already knows about the differences in your operating systems (in a file name / and \ are the same to rebol, so the script will work on windows or un*x) so your scripts WILL run on other operating systems.

Just how many other operating systems. At present Rebol has been ported to 36 different variants of popular operating systems including (but not limited to) 68k Mac OS, PPC Mac OS, windows 95/98/NT, linus alpha/intel/ppc, aix, solaris, amiga and the list goes on. They expect ports to 50 by the end of the year.

How powerful is Rebol? For those of you who program in Perl, just answer this question in your own mind: If you wanted to pull a web page from the web, and email its contents to 3 people, how many lines of Perl would it take? Well, here's the equivalent rebol code:

list make block! [p1@abc.org p2@xyz.org p3@lmn.org] <br>send list read http://www.domain.com/page.html

That's right, 2 lines!

While Rebol may not have the extreme text processing capabilities that Perl does, it can do just about everything that your backend cgi scripts could ever want. urls, time, money, strings, lists and blocks are all native data types for Rebol, so time comparisons and loops are a breeze, files can be written/saved/read via net protcols (http, ftp etc)

Sometimes Perl is the answer, at least I hope so, since its part of how I make my living, but sometimes its like trying to kill a fly with a bazooka. Rebol seems to be designed to allow novices to make scripts that will make a site interactive with a minimum of training, the code reads almost like English in some cases (and for non-English speaking spreaders, any of the command words in the language can be aliased to your native language within the language itself), but that's the novice. When you can do in 2 lines of Rebol what would take dozens of lines of Perl, I think the professionals in the audience see the possibilities.

And in case you are asking the one big question that the folks I know who take already looked into rebol have asked. Yes, ODBC support (ability for the script to communicate with databases on the back end) will be included in the October release of REBOL/command.

Rebol can be downloaded at: http://www.rebol.com

Submitted by tin on September 5, 1999 - 14:51.

drool. REBOL does indeed look incredible. My only question is, how fast and efficient is it compared to Perl or other scripting languages? I know it's a really small package, but does it perform its tasks as fast as the competition?

login or register to post comments

Submitted by Ratface on September 7, 1999 - 01:51.

I gave Rebol a try some time back and I have two slightly more negative comments about it. 1) The language structure is a love/hate kinda thing! Personally I couldn't get to grips with it at all and have hardly been able to make it do anything more interesting than the base code examples - you mileage may vary! 2) It is still a very young language. As wcb4 mentions, database support is still not there yet - and there a few other features missing. At the time I tested the language, there was no cgi support either, so it was great for tasks like crawling a website or sending a mailing list, but not at all useful for integrating with a website. Overall however, I think Rebol is a very positive new language. The inbuilt networking functionality is the sort of feature that is going to become standard in future languages - why write a 10 line mail script when the program could parse everything in one command? I think also, for those writing "bot" type applications or working more on the network side of things, Rebol is a very interesting language that could end up saving you hours of coding.

login or register to post comments

Submitted by pekr on September 8, 1999 - 05:39.

Hi, I am with REBOL from the day ONE of its public visibility on the web. (The times of Carl Sassenrath leaving VisCorp) As for above comments, I am not sure you are not talking of 1.x version of language. IIRC, 1.x REBOL family was lead by Joe Marschall, who is no longer with REBOL. 1.x family occupied some 380KB, was buggy, slow, etc. Then Carl took over development and result is REBOL 2.x family, - small, efficient, fast messaging language. It was 1/3 the size of 1.x REBOL, with embedded help, network protocols, etc. I suggest you to give REBOL another try, as it really deserves it. :-) Ah, as for CGI, REBOL does CGI well. :-) Cheers, -pekr- Czech Amiga News - http://www.realdreams.cz/amiga

login or register to post comments

Submitted by Anonymous on September 11, 1999 - 04:50.

rebol is really an incredible alternative to "hard-core" programming languages like perl. the latest version does cgi, indeed (and it does very well). concerning the language structure i thought it is a great thing to use syntax that is close to written english. however, a fried of mine, a "real" programmer (which i would not define myself), noted that it looks good when it is already coded, but you can find yourself doing hard to build an adequate code on your own. it was partly true. in the beginning i found myself struggling with the new commands and the way they are processed. but the struggle was probable less exhausting than with some other "new" languages i've learnt. generally spoken: it is definitely worth it. i wish that rebol tears some more people on the server side, that it opens the doors of dynamic publishing to lots out there who, put down from cryptic code and hermetic technology, do not dare to enter, yet. if you want to know more of the technical aspects (e.g. performance in comparison to other languages) you best read the press archive on rebol.com. moreover, you find some interesting comments and links when you search for "rebol" in the scripting.com archives.

login or register to post comments

The access keys for this page are: ALT (Control on a Mac) plus:

evolt.orgEvolt.org is an all-volunteer resource for web developers made up of a discussion list, a browser archive, and member-submitted articles. This article is the property of its author, please do not redistribute or use elsewhere without checking with the author.