Show HN: Write Chrome Extensions in Go
github.comTLDR;
Go -> Gopherjs -> Javascript running like any other Chrome extension. Go isn't running in Chrome extensions as "native client" here.
Agreed... though it's a nice reminder that GopherJS is still an option... I was actually hoping that it was some sort of NaCl option for Go.
That said, I'd also love to see the ability to write native node.js modules via go. Channels would be a pretty natural interface for native modules from node via go. And could probably do something via named-pipes, but a transparent integration would be so cool.
First thought: "I swear to god if this involves compiling Go to Javascript..."
GopherScript's got you covered baby!
Hah, mine was, "Unless this blows ClojureScript out of the water..."
I was hoping someone finally figured out a good way to start the Go runtime from node/c/c++. Once this feature exists it will be trivial to write Go extensions/modules for Chrome, Apache, Node, MySQL, you name it.
This more or less should work with Opera extensions too.
nice, but it's way easier in Dart and if you want to develop Chrome Packaged App there is even project template for this in DartEditor
For developing Chrome Extension, why would anyone want to use Go over Javascript?
This github naming convention (that I see often with Go code) of using the product target name as the project name is starting to annoy me.
Also does anyone have any idea why Gopherjs would be better than Clojurescript, Typescript, Coffeescript, etc?
It's better than those, if you already know Go.