Thanks for the suggestions, I will look into the cross compilation article.
But yeah, maybe in the end I have to use a gtp server, even though that
complicates scalability a bit.

Petr Baudis <pa...@ucw.cz> schrieb am Do., 17. März 2016 17:01:

> On Thu, Mar 17, 2016 at 09:47:15AM +0100, Gian-Carlo Pascutto wrote:
> > On 16-03-16 22:17, Clark B. Wierda wrote:
> >
> > > I'm not familiar with emscripten, but there is a process that will
> > > produce Javascript from Golang code that seems to be pretty robust.
> >
> > emscripten is extremely robust and will produce much faster (and hence
> > stronger) results than a golang->JS transpile.
> >
> > The problem they ran into is that GnuGo tries to build and run several
> > helper executables in order to construct itself, which won't work if
> > you're compiling to JS. So you'll need to fix up the build process to
> > differentiate between the "build" and "host" properly. Or maybe GnuGo
> > already does that and it's just a matter of passing the right options.
>
> I'd expect it to be analogous to
>
>
> http://www.mostlymaths.net/2010/04/my-first-port-to-ben-nanonote-gnugo.html
>
> - you are essentially crosscompiling to javascript.
>
>                                 Petr Baudis
> _______________________________________________
> Computer-go mailing list
> Computer-go@computer-go.org
> http://computer-go.org/mailman/listinfo/computer-go
_______________________________________________
Computer-go mailing list
Computer-go@computer-go.org
http://computer-go.org/mailman/listinfo/computer-go

Reply via email to