2 ms·
I was thinking about how popular Go is and looking at example code which to me is fairly clean. Anyway Go seems popular and looks cool and I think that is the
by ilaksh 13y ago
I was thinking about how popular Go is and looking at example code which to me is fairly clean. Anyway Go seems popular and looks cool and I think that is the next thing I am going to learn.
But the point is, what I am doing with Web applications for the most part is making rich UIs. So I was thinking, since Go compiles so fast, why not just download Go source and escape the browser, and get faster execution etc.? I mean I still think ToffeeScript is the best thing ever but Go is not bad at all.
So what I was thinking of making would be some kind of P2P-based DHT thing, totally decentralized of course, using UDP, and you can use it to distribute whatever, but two main things would be something like a web site but it would just be markdown and a tarball with Go code. Then you would display the markdown (maybe let them embed svg) and a button "Run Application" and sandbox the Go code with something like this https://github.com/zond/gosafe https://github.com/zond/gosafe. Maybe have a way to tag sites or some kind of data-oriented alternative to domains. Point being we are using the web to make it convenient to distribute and access sandboxed applications (even the front ends for e-commerce stuff are becoming thick clients in a lot of cases).
It would be nice if we could break out of the browser and also weren't subject to the limitations of JavaScript. And I wouldn't miss HTML or CSS at all to tell the truth. And the other part of this is that the whole server-based model we have needs to go and be replaced with data-oriented networking.