Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am finding it a bit hard to follow the Twitter thread, so for the sake of avoiding confusion - does this mean that the version of Word running on my Windows 10 laptop will soon be written in JavaScript?


Could be! Didn't we just announce (and got meme'd to death by InfoSec world) that Excel is going to be able to _run_ JavaScript.

BTW this isn't breaking news, we have been talking about our love, bets, and use of ReactNative and ReactNativeWindows for a while now!


The high level source code – yes. But in the end almost everything (except one app implemented as an electron app) will be compiled to native code. They're using multiple forks of react native for various platforms – that's what he basically means by "written in JS".


Are they actually compiling JavaScript (or TypeScript) ahead of time to native code? I was under the impression that AOT compilation wouldn't work well for JS because of its dynamism, hence the JIT compilers in all the web browsers.

Or are they merely compiling TypeScript to JavaScript and minifying/bundling/etc. the source code, the way React Native normally works?


It's actually a bit confusing, in that thread he says everything is compiled to native, though...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: