Gleam is written in pure Go. However, Go's lacks of generics and remote 
code execution hinder its progress on distributed data processing.

Enter Gleam: https://githug.com/chrislusf/gleam This is a Go-based 
MapReduce system currently supports Luajit and Unix Pipes. Gleam has a 
plugin system to support additional scripting languages, Python, Ruby, 
Javascript, etc.

Luajit has performance comparable to Java or C. Unix Pipe Tools, such as 
"tr", "wc", "awk", "sed", "sort", "uniq", are gems that should be reused. 
Here is an full example to combine them together, with distributed parallel 
execution support.

Other example usages can be found here:
https://github.com/chrislusf/gleam/tree/master/examples


```

package main


import (

    "os"


    "github.com/chrislusf/gleam"

)


func main() {


    gleam.New().TextFile("/etc/passwd").FlatMap(`

        function(line)

            return line:gmatch("%w+")

        end

    `).Pipe("tr 'A-Z' 'a-z'").Pipe("tee x.out").Pipe("sort").Pipe("uniq 
-c").Fprintf(os.Stdout, "%s\n").Run()

}



```

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to