<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I haven't worked with swig/go, but looked for it when some time ago regarding python bindings.  I didn't find it to be very easy to write swig bindings and it looked a bit fragile and error-prone to use.</div><div class=""><br class=""></div><div class="">For golang, I think using ndn-cxx library would defeat some of the advantages that golang provides, specifically the concurrency.  But I agree, maintaining multiple libraries would be a lot of work.  Though if there are users for the library, the users themselves can try to do such maintenance :-D</div><div class=""><br class=""></div><div class="">--</div><div class="">Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 22, 2017, at 8:02 PM, Lei Pi (lpi) <<a href="mailto:lpi@memphis.edu" class="">lpi@memphis.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi everyone, </div>
<div class=""><br class="">
</div>
<div class="">While thinking about proposals for the coming NDN Hackathon, I’m curious about the possibilities to write NDN applications in golang. </div>
<div class=""><br class="">
</div>
<div class="">There is a go-ndn project on github [1], which seems to be re-implementing ndn in golang. But it is not officially supported or maintained. </div>
<div class=""><br class="">
</div>
<div class="">Another option for using ndn in golang is to link the binary with the libndncxx / libndncpp library. [2][3][4]</div>
<div class=""><br class="">
</div>
<div class="">Does anyone already have experience in using SWIG to link golang programs with libndncxx or libndncpp? </div>
<div class=""><br class="">
</div>
<div class="">[1] <a href="https://github.com/go-ndn/ndn" class="">https://github.com/go-ndn/ndn</a></div>
<div class="">[2] <a href="https://golang.org/doc/faq#Do_Go_programs_link_with_Cpp_programs" class="">https://golang.org/doc/faq#Do_Go_programs_link_with_Cpp_programs</a></div>
[3] <a href="https://golang.org/cmd/cgo/" class="">https://golang.org/cmd/cgo/</a>
<div class="">[4] <a href="http://www.swig.org/Doc3.0/Go.html" class="">http://www.swig.org/Doc3.0/Go.html</a></div>
<div class=""><br class="">
</div>
<div class="">Thank you.<br class="">
<div class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">----</div>
<div class="">Regards, </div>
<div class="">Lei Pi</div>
<div class="">University of Memphis</div>
<div class="">Masters Student in Computer Science</div>
</div>
</div></div></div></div></div></blockquote></div><br class=""></body></html>