Google's Sawzall

This might be of interest to some:

    http://labs.google.com/papers/sawzall.html

(abstract with pointer to PDF of full 29 page paper)

It discusses a special purpose language developed at
Google labs (three of the authors, including Rob
Pike, moved to California from Bell Labs, New Jersey)
but also points to the kind of research //labs.google
has been involved in over the past few years.

The paper includes a little microbenchmark comparison
(page 22) against ruby, perl, python); academic, as
Sawzall is essentially a query language - the comparison
is thus merely for . . . uh, . . . comparison.

Since //labs.google has replaced Murray Hill and Xerox
PARC in CS research, when this paper states, "Sawzall has
become one of the most widely used programming languages
at Google," the statement should not be taken too lightly.

···

---------------------------------------------------
In the 'Acknowledgments' section of the paper, Paul
Haahr is mentioned, indicating that he too is at Google.
Haahr cowrote the es shell (based on Plan 9's rc shell):

    http://www.webcom.com/~haahr/es/es-usenix-winter93.html

The ideas developed in rc and es might point way to a ruby
syntax shell, which with the Plan 9 plumber:

    http://plan9.bell-labs.com/sys/doc/plumb.pdf

    (or Unix subset: http://swtch.com/plan9port/ )

could make a wonderful cohesive integrated system in which
everything, the shell, the scripting language, the macro
language used by applications, are all unified around a
single language/syntax. Think of it: no more muddle of
bash/elisp/python/whatever/whatever - just one clean
pervasive syntax for the whole system.

Interesting timing, I've been doing some XQuery work and pondering how easy
it would be to write ruby code that is isomorphic to XQuery code.

kim kubik wrote:

... could make a wonderful cohesive integrated system in which
everything, the shell, the scripting language, the macro
language used by applications, are all unified around a
single language/syntax.

You mean like AppleScript?

That's the problem with a cohesive unified scripting system--the single language/syntax will be a nasty one :slight_smile:

(In fact, the OSA architecture allows for the same script to be edited in multiple languages; but I don't think the vision ever came to pass. It was intended to allow, say, French people to write their AppleScript in French, but the principle would also theoretically work for editing an AppleScript using Ruby syntax.)

mathew

···

--
<URL:http://www.pobox.com/~meta/&gt;
          WE HAVE TACOS

FWIW, there is a JavaScript OSAX which allows you to write
"AppleScripts" using JavaScript. So to some degree, the vision came to
pass (albeit not as fruitfully as something like .net).

kim kubik wrote:
> ... could make a wonderful cohesive integrated system in which
> everything, the shell, the scripting language, the macro
> language used by applications, are all unified around a
> single language/syntax.

You mean like AppleScript?

And Arexx on the Amiga ( and probably Rexx on MVS as well )

That's the problem with a cohesive unified scripting system--the single

···

On 8/19/05, mathew <meta@pobox.com> wrote:

language/syntax will be a nasty one :slight_smile:

(In fact, the OSA architecture allows for the same script to be edited
in multiple languages; but I don't think the vision ever came to pass.
It was intended to allow, say, French people to write their AppleScript
in French, but the principle would also theoretically work for editing
an AppleScript using Ruby syntax.)

mathew
--
<URL:http://www.pobox.com/~meta/&gt;
WE HAVE TACOS

--
Into RFID? www.rfidnewsupdate.com <http://www.rfidnewsupdate.com> Simple,
fast, news.