Live data from Hacker News

Office 365 is being completely rewritten in JavaScript

twitter.com

221–230 of 459 posts

Re: Office 365 is being completely rewritten in JavaScript

#221

Earlier quoted context omitted.

I'm guessing that in this case they're only talking about the "office software running in the browser" version of Office 365, not the "subscription pricing model for the desktop suite" version.

I'm guessing they're just going to ship an Electron app and they won't be different codebases any more.

On Windows 10, they will target WinRT on UWP, with Fluent Design UI. Not Electron.

Re: Office 365 is being completely rewritten in JavaScript

#222
post #12
post #3

Office for Windows (WIN32) will be an Electron app? I have no words. edit, since there seems to be some confusion: I am explicitly talking about the WIN32 variant, which he confirmed to be based on Electron.

Not an electron app https://mobile.twitter.com/TheLarkInn/status/100677077815354...

Not totally true because:

> WIN32 (only one that uses electron)

which happens to be the version most people use.

Re: Office 365 is being completely rewritten in JavaScript

#223
post #178
post #156

Earlier quoted context omitted.

I don't think he's saying the criticisms are invalid, but just that they are at the forefront of more people's minds because the respective language is more prevalent. Languages that are barely used also have their problems - they are just undiscovered or spoken about less.

If he wanted to make the really mundane point that people don't complain about things they don't use there would be absolutely no reason to bring C++ into it. He could just remark that nobody complains about the bad handling of the Model T anymore because nobody drives it. It's true but why is that relevant or at all interesting? Do we really believe this is the mundane observation Stroustrup is making? No. Stroustru…

Perhaps we should reflect on why people do indeed use his language, warts 'n all?

Are you suggesting C or Haskell are without their problems? What is your definition of a "good" language?

Re: Office 365 is being completely rewritten in JavaScript

#224

Is this the "real" reason why they bought Github? They want to migrate their entire office products to use the ElectronJS. VisualCode and others were like the guinea pigs before going fully in with their office products. /end_speculation.

Not Electron. https://twitter.com/TheLarkInn/status/1006761134395834368

Re: Office 365 is being completely rewritten in JavaScript

#225
post #81

Earlier quoted context omitted.

It is not a question of dogfooding, it is a question of re-use. Office also needs to run in the web browser (Sharepoint, OneDrive)

But C# can run on WebAssembly!

Which is fine if you don't need your app to run in IE. They probably do.

Re: Office 365 is being completely rewritten in JavaScript

#226
post #82

Earlier quoted context omitted.

Nah it's fine, just upgrade to Win10 and buy your license through the windows store! UWP isn't using electron! What's that? Win32 a second class citizen? Never!

Isn't it about time? The "32" ought to be a clue...

So? When were the POSIX APIs designed? Probably before 16 bit was common. By that logic we should migrate off that as well.

Re: Office 365 is being completely rewritten in JavaScript

#227

Earlier quoted context omitted.

This would be suicide for Office. I struggle to believe that Microsoft is replacing the full Windows desktop version of Office with a version rewritten in JS. It makes no sense. Many, many, many businesses absolutely rely on the features you're mentioning, and many others that would be a tremendous undertaking to re-implement. There has to be something that's not being communicated right here. Maybe they mean the "li…

I also think it’s extremely unlikely MS is announcing an new native code compiler for JavaScript, something I’m not sure anyone knows how to do with reasonable performance, with a Tweet this casual.

Web Views with native API's. So not truly native compilation.

Re: Office 365 is being completely rewritten in JavaScript

#228

Earlier quoted context omitted.

Really the choice of language is unlikely to be the cause of any slowness you are experiencing in different versions. JS can be faster than a native experience, all depends on program architecture. The main JS engines are blazing fast and a low-latency UI is perfectly possible; sluggishness is not a sacrifice you must accept when coding in nearly any language in 2018. But bad practices in any language can lead to a p…

Maybe so, but I have never seen a fast Electron app. VS Code, Discord, Slack, etc., all have awful performance on older hardware where native programs like the full Visual Studio fly. It's my personal suspicion that people cheerleading JS all are working with fantastic developer hardware, where the performance impact is pretty muted.

Part of that is electron itself - I've heard it carries quite a bit of bloat - and part of that is the DOM. The DOM is very slow because of the guarantees it makes. You can edit any part of the HTML at any time - by hand or by API - and everything will resize and reflow implicitly. That's an incredibly powerful yet heavyweight feature. If they're using React Native, the only non-native thing is the raw JS logic itself, which is far, far less of a bottleneck.

Re: Office 365 is being completely rewritten in JavaScript

#229

Earlier quoted context omitted.

There's a Skype for Business written in JavaScript? I know there is Skype, but it doesn't talk to our Skype for Business (Lync) server.... I have to use Pidgin for that. (Linux)

Definitely not. Unless it's the godawful Mac client that doesn't work for most things, which is possible, since it's using UCWA under the covers. The Skype for Business Windows client was barely reskinned from the Lync 2013 client. I think they are still only a couple dozen patch revisions apart on the version number.

That's what I thought. It's tough to use Linux in a Windows shop. I have most of it figured out, though.

It would just be nice to be able to join Skype/Lync meetings with Screen sharing.

Re: Office 365 is being completely rewritten in JavaScript

#230

Earlier quoted context omitted.

If I threw billions of dollars of vested interest at Python/Ruby/COBOL/(insert language of your choice) we can probably make those run at JS speeds as well. Does that solve the fundamental drawbacks of the languages? Nope. No it does not. JavaScript is particularly egregious because of it's weird behaviour about types and coercion and you know, just silently failing, behaviour that I wouldn't want going on in any pro…

every dynamically-typed language has "weird" behaviour around type coercion, that's simply the nature of the beast. sure wish i knew what you are talking about w/r/t "silently failing". JS has working exceptions just like 99% of widely used languages. I'm very glad that you've been omniscient enough to determine what "proper" parallel support is, though. How's that working out for you? Meanwhile, those of us using Ja…

> every dynamically-typed language has "weird" behaviour around type coercion, that's simply the nature of the beast.

No, that's not true at all. Dynamic languages don't necessarily have type coercion at all, much less weird behavior around it (and, conversely, statically typed languages they have coercion may have weird behavior around it; there's just no link between dynamic typing and weird coercion behavior.)

Post reply on HN