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.

-- 
GCP
_______________________________________________
Computer-go mailing list
Computer-go@computer-go.org
http://computer-go.org/mailman/listinfo/computer-go

Reply via email to