Jump to content

Sawzall (programming language)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Geo pradeep (talk | contribs) at 09:39, 6 August 2007 (Created page with '[http://labs.google.com/papers/sawzall.html '''SAWZALL'''] is <blockquote> "not related to the portable reciprocating power saw trademark of the Milwaukee Electric...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

SAWZALL is

"not related to the portable reciprocating power saw trademark of the Milwaukee Electric Tool Corporation"

SAWZALL is an interpreted, procedural, domain-specific programming language, used specifically by GOOGLE[1], to handle huge quantities of data. MapReduce, Haskell are related powerful list processing functional programs. A discussion group exists at UCSC School of Engineering led by Cormac Flanagan.

SAWZALL code[[2]]

                                                                         l

This complete Sawzall program will read the input and produce three results: the number of records, the sum of the values, and the sum of the squares of the values.

     count: table sum of int;
     total: table sum of float;
     sum_of_squares: table sum of float;
     x: float = input;
     emit count <- 1;
     emit total <- x;
     emit sum_of_squares <- x * x;

References

  • S. Ghemawat, H. Gobioff, S.-T. Leung, The Google file system, in: 19th ACM Symposium on Operating Systems Principles, Proceedings,

17 ACM Press, 2003, pp. 29–43.