5 ms·
Interesting. With the recent influx of Go rewrites, I wonder if anyone would consider writing a browser in Go just as an experiment.
by thethimble 13y ago
Interesting. With the recent influx of Go rewrites, I wonder if anyone would consider writing a browser in Go just as an experiment.
- stevoski 13y agoHas Go got a good UI library?
- tdees40 13y agoIt does not, and this needs to change before Go becomes viable for applications like this.
- azakai 13y agoGC pauses might be an issue with Go (they don't matter that much in a Go server app, but in a client app like a browser things are very different).
- marpalmin 13y agoI had the same doubt.
- redcircle 13y agoI rewrote quite a bit of the Chromium browser in Go, achieving a 10x reduction in lines of code (I stopped this project before I could reliably evaluate performance). Since Chromium uses a multi-process model, this was pretty easy: I implemented the Chromium IPC protocol in Go (I wrote a Chromium utility to emit a JSON description of the IPC protocol), and then told the privileged and unprivileged Chromium processes to use my Go subprocess rather than the original logic. My Go logic ran on both Windows and Mac OS X.
- touristtam 13y agoMind sharing if you have the code public ? :)
- redcircle 13y agoBelongs to my employer :( Also, when I said 'quite a bit', I was thinking about the data-plumbing logic --- not UI and WebKit logic. It doesn't really make sense to rewrite WebKit.