3 ms·
What is Edge written in? I would have assumed Microsoft would use C#, which is garbage collected.
by Animats 12y ago
What is Edge written in? I would have assumed Microsoft would use C#, which is garbage collected.
- nbevans 12y agoHighly unlikely. It would be written as a native C++ app. Whilst the .NET CLR is very powerful and highly performant these days, there just wouldn't be enough justification I don't think to design their web browser on it. Remember this thing will be targeting mobile devices too. So every little performance optimisation can save minutes of battery life which all adds up. That said, I've always wondered what a JavaScript implementation built on top of the CLR might behave like.
- latiera 12y agoNot enough justification? How about 0 security? All their measures are totally useless, there is no safety here just same old bullshit that can be trivially bypassed.
- nerraga 12y agoThe fact that the article is mentioning MemGC as a defense against use-after-free attacks (something I don't believe managed languages need be concerned) and the way Control-Flow-Guard is described leads me to think it's primarily C++. Probably a mix of native/managed, but I suspect that any managed code is kept to a minimum given the emphasis on native protection and countermeasures. If this is the case then I'd be interested in their rationale in deciding not to go 100% managed.
- comex 12y agoAs a fork of Trident, it's written in C++.