3 ms·
For some concrete examples of the above: WebKit, Chromium, Gecko, and V8 are all C++. My impression is that there is a very high startup cost with C++ to getti
by aboodman 16y ago
For some concrete examples of the above: WebKit, Chromium, Gecko, and V8 are all C++.
My impression is that there is a very high startup cost with C++ to getting it working on the platforms you want to support and picking the subset that isn't going to screw you. Once you get over the hurdle, the improved memory management (I agree with the post Zed is ranting in response to) starts to pay dividends.
- pvdm 16y agoV8 is hardly a ringing endorsement for C++. Just sayin.
- aboodman 16y agoSomebody below said just the opposite. Personally, I find V8 really nice to read and work with. Which part of it do you not like?
- mace 16y agoV8 is ringing endorsement for V8. It is just a well-designed JavaScript virtual machine. It's performant because it compiles JavaScript to native code and uses generational garbase collection.