3 ms·
I'm actually building my latest project this way. Not using this project though. I actually really enjoy it. I have all of my go test stuff running in subpacka
by anonacct37 9y ago
I'm actually building my latest project this way. Not using this project though.
I actually really enjoy it. I have all of my go test stuff running in subpackages, and a fairly thin main package that hooks my models up to vue.js and builds some frappe charts. I very much enjoy taking the workflow I use to build efficient services and using it to build my simple frontends.
two-way data binding on a go struct is actually kind of magical and not something you could really go without javascript since (I assume) it relies on Object.observe and go doesn't really have properties. Goroutines and channels in javascript are also really magical.
- mzzter 9y agoAre you using GopherJS? What’s the performance of Go in the browser?
- anonacct37 9y agoYes I'm using gopherjs. It actually performs really well. For a taste check out this article on raw numeric perf where gopherjs beats native go. Of course there's a catch/explanation but it's interesting to see how well it can perform even on tight numeric loops. https://medium.com/gopherjs/surprises-in-gopherjs-performance-4a0a49b04ecd https://medium.com/gopherjs/surprises-in-gopherjs-performanc...