Live data from Hacker News

Office 365 is being completely rewritten in JavaScript

twitter.com

241–250 of 459 posts

Re: Office 365 is being completely rewritten in JavaScript

#241
post #54

So of all the good, far more suitable languages they could use, we're getting it written the flaming pile of trash that is JavaScript? Why though?

>good, far more suitable languages Can you give a simple analysis on what weaknesses JS has that other languages would avoid with no pitfalls of their own?

Why not take the opportunity to learn other languages and see for yourself rather than ask someone to hold your hand? Show some initiative.

Re: Office 365 is being completely rewritten in JavaScript

#242

I wonder how much of global warming is caused by inefficient code written in higher level languages requiring more powerful hardware to run. It might be infinitesimal but still non-zero.

Technically JavaScript is only ~7% slower then C++ to execute. But snipe away at that stats with real data.

The real problem is DOM, not the language or its implementations.

Re: Office 365 is being completely rewritten in JavaScript

#243
post #237

Earlier quoted context omitted.

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

Wrong https://twitter.com/thelarkinn/status/1006761134395834368?s=...

Not wrong, see the Windows 10 OneNote app for example, which already uses Typescript on WinRT/UWP. An Electron target will only be for legacy platforms, like Windows 7 and 8.

Also see https://www.thurrott.com/cloud/office-365/161295/microsoft-r...

Re: Office 365 is being completely rewritten in JavaScript

#244
post #226

Earlier quoted context omitted.

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.

Yeah, probably.

Re: Office 365 is being completely rewritten in JavaScript

#245
post #232
post #209

Re: the original tweet JavaScript is a real language now. It's powerful and performant and uses modern paradigms, in addition to its sheer relevance. That said, I am glad I was taught using C++ in college. Not because I plan to ever write an OS or DBMS, but because it taught me valuable lessons about pointers, how memory is managed, how arrays and lists differ, and other computing fundamentals that still inform you w…

This is true, but people like the orginal tweeter often pretend that this learning order is somehow the only "real" way to do things. I don't see why it isn't equally as valid to learn high-level concepts first and then learn the gory details later. I'm confused why there seems to be such a large number of low-level people so stubbornly insisting their order is the right one.

It can be a more difficult transition to go from high to low than from low to high. Not impossible, but frustrating and confusing.

But also - not to stereotype too hard - but low-level people often have that crusty-old-sailor syndrome where they've been doing things the hard way since before these youngun's even first saw code, and if they can manage their own memory for performance then god-dangit everyone else should have to too.

Re: Office 365 is being completely rewritten in JavaScript

#246
post #28

The tweet that the OP is quoting/responding to is interesting: https://mobile.twitter.com/jdgarciauc3m/status/1005768121230... > Tip of the day. > Scripting languages as first programming language for CS bachelors are WRONG. You are not able to write an OS, a DBMS, or even an Office suite with an scripting language. I honestly thought this was a satire tweet. I guess I just don't associate even a CS bachelor's degree…

I very much agree that this is a broken line of argumentation. However, I find the opinion to be correct: Scripting languages might not be a good first programming language for a CS bachelor, where priority is deep learning of programming. I'd also argue that JavaScript would be a bad candidate, as it is a very "unclean" language, being a poor way to teach language/compiler theory. As a first practical programming la…

I get the depressing feeling that a lot of Javascript programmers have no formal CS education at all.

Re: Office 365 is being completely rewritten in JavaScript

#247
This guy confirms all my prejudices against JavaScript hipsters, ruining computing for everyone since 1995. The beard, the super-fun-happy demeanor instead of thoughtfulness and competence.

Please Wasm, save us from this nightmare! And nuke the hipsters from orbit.

Re: Office 365 is being completely rewritten in JavaScript

#248

Time to apply for a 20M dollar loan to buy a semi supercomputer in order to run skype, slack and office all together. Any remarks on cray supercomputers?

Exactly. Microsoft won't tell their enterprise customers that their crypto now runs in a browser and is no longer compliant with the standards of their industries. They would lose almost all of their sales revenue if they did that.

Re: Office 365 is being completely rewritten in JavaScript

#249
post #28

The tweet that the OP is quoting/responding to is interesting: https://mobile.twitter.com/jdgarciauc3m/status/1005768121230... > Tip of the day. > Scripting languages as first programming language for CS bachelors are WRONG. You are not able to write an OS, a DBMS, or even an Office suite with an scripting language. I honestly thought this was a satire tweet. I guess I just don't associate even a CS bachelor's degree…

I had to take a mandatory course where we wrote a simple flat-file db in x86 assembly, complete with a simple console-based interface. I’ve rarely needed to even look at assembly professionally, let alone write a real db, but I fully agree with the tweet.

Re: Office 365 is being completely rewritten in JavaScript

#250
post #223
post #178

Earlier quoted context omitted.

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?

Good languages are local maxima in the language design landscape. C is a good language. As is Python. And C#. There are many projects for which C or Python or C# are fine language choices.

Other languages have great ideas in them, but the languages themselves are a mixed bag. Perl, Java, C++. Perl inspired Ruby. Java inspired C#. But we haven't seen a good successor to C++ yet, probably because building a systems language is much more difficult than building an interpreted/scripting language.

Post reply on HN