All of Office 365 being rewritten in React Native and Javascript?

This tweet from a Microsoft employee seems significant to me. I’m not even going to attempt to offer any opinions. I was just quite surprised to read this and thought some of you might be interested as well.

https://mobile.twitter.com/thelarkinn/status/1006746626617008128?s=21

Associated HN thread:

https://news.ycombinator.com/item?id=17300893

Conversation 16 comments

  • starkover

    13 June, 2018 - 11:44 am

    <p>Thanks for sharing. Interesting.</p>

  • skane2600

    13 June, 2018 - 12:43 pm

    <p>Because rewriting Netscape Navigator in Java worked out so well? Microsoft doesn't have anything better to do than rewrite working applications in a new language? Sounds like more RDD (Resume Driven Development) to me.</p>

  • TheJoeFin

    Premium Member
    13 June, 2018 - 12:52 pm

    <p>Very interesting stuff. However I wonder what Sean Larkin means by "All of Office 365" does he mean all of the online stuff, Office Online, SharePoint, Teams, etc. or like desktop apps too? I doubt he is including the desktop apps in that, but maybe.</p><p><br></p><p>EDIT: they are writing all apps in TypeScript <a href="https://twitter.com/TheLarkInn/status/1006761134395834368&quot; target="_blank">here is the tweet</a></p>

  • jimchamplin

    Premium Member
    13 June, 2018 - 4:46 pm

    <p>So what?</p><p><br></p><p>With the amount of wasted CPU time on modern PCs, nobody will notice a millisecond difference.</p><p><br></p><p>OMG My hyper-fast multi-threading quad-core CPU has to execute 5% overhead…</p>

    • TheJoeFin

      Premium Member
      13 June, 2018 - 5:20 pm

      <blockquote><a href="#283886"><em>In reply to jimchamplin:</em></a></blockquote><p>What is your point? Because new CPUs are faster performance doesn't matter? </p>

      • jimchamplin

        Premium Member
        13 June, 2018 - 6:02 pm

        <blockquote><a href="#283895"><em>In reply to TheJoeFin:</em></a></blockquote><p>My point is that the overhead eventually is completely overcome by the CPU's power. If using the application never pushes the chip over say… 50%, and the JavaScript version runs at 60% tops… who cares?</p><p><br></p><p>If the performance is considerably less, sure, then complain, but…</p><p><br></p><p>Really. </p><p><br></p><p>Boxes from ten years ago are "more than capable" of running modern software. So what if there's a tiny bit of overhead in trade for WORM? Fuhgeddaboutit!</p>

        • TheJoeFin

          Premium Member
          13 June, 2018 - 6:17 pm

          <blockquote><a href="#283906"><em>In reply to jimchamplin:</em></a></blockquote><p><br></p><p>As computers become more powerful people demand more from them. My work PC frequently runs into performance limits, because I am running AutoCAD, Inventor, Outlook, OneNote, several versions of Excel, Word, File Explorer, and LOB Apps. If Microsoft announced that each instance of Excel now takes 10% more memory and CPU I would not be happy.</p>

  • lvthunder

    Premium Member
    13 June, 2018 - 6:45 pm

    <p>I know they want you to write all the Office Add-Ins in Javascript so it'll run everywhere.</p>

  • jblank46

    14 June, 2018 - 2:21 am

    <p>It's been ongoing for a while. I first noticed two years ago that OneDrive pages were written in React. It's spread to Outlook since and probably other apps too. React is awesome so I don't see why not.</p>

  • dcdevito

    14 June, 2018 - 7:22 am

    <p>This is terrible news. JS isn't meant for serious apps</p>

  • Paul Thurrott

    Premium Member
    14 June, 2018 - 8:58 am

    <p>Everything this guy wrote is wrong, by the way.</p><p><br></p><p>I covered it here: https://www.thurrott.com/cloud/office-365/161387/office-365-javascript-thing</p&gt;

    • TheJoeFin

      Premium Member
      14 June, 2018 - 10:54 am

      <blockquote><a href="#284056"><em>In reply to paul-thurrott:</em></a></blockquote><p><br></p><p>TypeScript is JavaScript.</p><p><br></p><ul><li>Office Online is surely being rewritten in TypeScript because MS has been using it everywhere.</li><li>Skype (for Web) is being rewritten (<a href="https://twitter.com/peterskillman/status/984606509186232320&quot; target="_blank">source</a>) without a doubt will be done in JavaScript (probably via TypeScript)</li><li>MS Teams was written in Angular and TypeScript</li><li>VS Code is written in TypeScript </li></ul><p><br></p><p>Because of the cross-platform nature of MS Office apps and the huge success of VS Code I would not be surprised if the desktop Office Applications are getting their UX rewritten in TypeScript.</p><p><br></p><p>Seems to me like the vast majority of Office 365 offerings are written in JavaScript. </p>

      • skane2600

        14 June, 2018 - 11:48 am

        <blockquote><a href="#284102"><em>In reply to TheJoeFin:</em></a></blockquote><p>"Office Online is surely being rewritten in TypeScript because MS has been using it everywhere."</p><p><br></p><p>Obviously not actually "everywhere", but even if TypeScript is used extensively by MS that would not be evidence that Office Online is being written in it.</p>

    • aThingOrTwo

      14 June, 2018 - 2:45 pm

      <blockquote><a href="#284056"><em>In reply to paul-thurrott:</em></a></blockquote><p><br></p><p>I think it is more accurate to say most of it is right than everything is wrong.</p><p><br></p><p>I wrote a <a href="https://www.thurrott.com/cloud/office-365/161387/office-365-javascript-thing#284189&quot; target="_blank">longer comment</a> below the article, but in summary all web technologies used to build applications (Progressive Web Apps (PWAs)/Service Workers, Electron, React, React Native) are inseparable from JavaScript because JavaScript is the language of the web.</p><p><br></p><p>Skype, VSCode, Teams and Edge developer tools, Edge debug protocol all execute as JavaScript. </p><p><br></p><p>The hyperbole was around office, it is not all being rewritten, but Office UI components are being migrated to use the <a href="https://github.com/Microsoft/react-native-windows/blob/master/README.md&quot; target="_blank">React Native plugin for Universal Windows Platform</a> which Microsoft has built.</p>

      • christian.hvid

        16 June, 2018 - 12:06 pm

        <blockquote><a href="#284208"><em>In reply to aThingOrTwo:</em></a></blockquote><p>One could also argue that HTML and CSS are the languages of the web by design, while JavaScript is the language of the web by circumstance – and not necessarily forever. As technologies like WebAssembly evolve, the future companion language to HTML and CSS might just as well be C#, Swift or Kotlin – or all of them.</p><p><br></p><p>As for desktop and mobile apps, web technologies are gradually supplanting native UI stacks – which is probably for the best, all things considered. It's not entirely unthinkable that even massive desktop applications like Office or Visual Studio will be rewritten using HTML and CSS at some point in the future. But I don't see JavaScript or TypeScript as a given.</p><p><br></p>

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC