You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2014/01/02 19:17:57 UTC
[jira] [Commented] (MESOS-862) Go language bindings
[ https://issues.apache.org/jira/browse/MESOS-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860478#comment-13860478 ]
Jie Yu commented on MESOS-862:
------------------------------
Just curious, have you evaluated swig:
http://www.swig.org/Doc2.0/Go.html
> 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.5#6160)