Re:Why are most browsers developed in C++?
by thethimble on Wednesday July 31, 2013 @12:27PM
(#6134920)
Interesting. With the recent influx of Go rewrites, I wonder if anyone would consider writing a browser in Go just as an experiment.
[ Parent
| on HN ]
GC 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).
Re:Why are most browsers developed in C++?
by redcircle on Wednesday July 31, 2013 @03:35PM
(#6136302)
I 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.
Re:Why are most browsers developed in C++?
by touristtam on Wednesday July 31, 2013 @05:15PM
(#6136889)
Mind sharing if you have the code public ? :)
Re:Why are most browsers developed in C++?
by redcircle on Thursday August 01, 2013 @12:35AM
(#6138679)
Belongs 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.
Re:Why are most browsers developed in C++?
by stevoski on Wednesday July 31, 2013 @12:32PM
(#6134959)
Has Go got a good UI library?