UtherLe 14/06/2018 à 05:58
Hi there!!! Original Tweeter here! I’m Sean and I’m a Program Manager at Microsoft working on Microsoft Edge and Edge Dev Tools!
Going to clarify across a few things. Some was lack of more then 280 chars in a tweet and not expecting this to get beyond #JavaScript twitter.
MS Teams, VS Code, is already written _with_ TypeScript which is compiled to JavaScript powered by Electron. It is an electron application. VS Code is on GitHub and Open Source if you’d like to see examples of how or what.
We are not abandoning C++, C#, or any of the other awesome languages, apis, and toolings that we use across Microsoft. EdgeHTML is almost entirely written in C++ like any other browser engine. However we do also run JavaScript (compiled from TypeScript) in DevTools, and leverage open source technologies like React and webpack to build the UI’s for them.
Office 365’s UI, a lot of it, but definitely not all of it, are pieces that are built using React Native (Windows). API’s and Services are still going to be powered by C++, C#, or whatever is the most appropriate for that team. Nothing is converting to “all/completely” JavaScript/TypeScript.
React Native compiling JavaScript to “native code” is arguably wrong. Most of what is native are API’s interactions and Native Modules that can be communicated with through JavaScript. WebViews power UI rendering thanks to React. Thanks to the Skype Engineer who sniped me on that in discussion .
Feel free to ask anything else! It’s the least I can do for tweeting some pretty unclear messaging. ?