Niklas Quarfot Nielsen created MESOS-862:
--------------------------------------------

             Summary: Go language bindings
                 Key: MESOS-862
                 URL: https://issues.apache.org/jira/browse/MESOS-862
             Project: Mesos
          Issue Type: Improvement
          Components: framework
            Reporter: Niklas Quarfot Nielsen
            Assignee: Niklas Quarfot Nielsen


Go is getting increasing attention in the distributed systems community and it 
would be great to be able to leverage Mesos as a part of that story.

We have started mocking up language bindings using cgo (C-bridge in Go): 
https://github.com/nqn/mesos-go

Unfortunately, it is not as smooth as Python or JNI which can interact with the 
C++ API's directly. If anyone knows about a way to let Go use the C++ API, feel 
free to jump in.
The C bridge does not need to be a part of the Mesos distribution, as we can 
compile this into a separate library which links against libmesos.

An example framework in Go can be seen here: 
https://github.com/nqn/mesos-go/blob/master/src/mesos.apache.org/example/main.go
It is still work in progress, but can launch go tasks now.

Feel free to jump in with any comments and ideas.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to