MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/8saw35/airbnb_moving_away_from_react_native/e0z19ev
r/programming • u/tsolarin • Jun 19 '18
581 comments sorted by
View all comments
3
JavaScript might be easy to get in and experiment, but for production-ready software, it should be the last choice.
7 u/bart2019 Jun 20 '18 That is like, just your opinion, man. 0 u/hastor Jun 20 '18 But why didn't they just compile to javascript? You can write in almost any language and compile to javascript. 3 u/NeverComments Jun 20 '18 There's no benefit to compiling to Javascript unless it is the only runtime available on the target platform, i.e. browser. 1 u/ThisIs_MyName Jun 20 '18 Why do that when you can just ship a binary on mobile?Even in browsers, WASM binaries are preferred. 1 u/hastor Jun 20 '18 Same argument applies for WASM. 1 u/ThisIs_MyName Jun 21 '18 You didn't make an argument. 1 u/hastor Jun 21 '18 I'm really sorry! What I meant to say is that the question applies equally by replacing "Javascript" with "WASM".
7
That is like, just your opinion, man.
0
But why didn't they just compile to javascript? You can write in almost any language and compile to javascript.
3 u/NeverComments Jun 20 '18 There's no benefit to compiling to Javascript unless it is the only runtime available on the target platform, i.e. browser. 1 u/ThisIs_MyName Jun 20 '18 Why do that when you can just ship a binary on mobile?Even in browsers, WASM binaries are preferred. 1 u/hastor Jun 20 '18 Same argument applies for WASM. 1 u/ThisIs_MyName Jun 21 '18 You didn't make an argument. 1 u/hastor Jun 21 '18 I'm really sorry! What I meant to say is that the question applies equally by replacing "Javascript" with "WASM".
There's no benefit to compiling to Javascript unless it is the only runtime available on the target platform, i.e. browser.
1
Why do that when you can just ship a binary on mobile?
Even in browsers, WASM binaries are preferred.
1 u/hastor Jun 20 '18 Same argument applies for WASM. 1 u/ThisIs_MyName Jun 21 '18 You didn't make an argument. 1 u/hastor Jun 21 '18 I'm really sorry! What I meant to say is that the question applies equally by replacing "Javascript" with "WASM".
Same argument applies for WASM.
1 u/ThisIs_MyName Jun 21 '18 You didn't make an argument. 1 u/hastor Jun 21 '18 I'm really sorry! What I meant to say is that the question applies equally by replacing "Javascript" with "WASM".
You didn't make an argument.
1 u/hastor Jun 21 '18 I'm really sorry! What I meant to say is that the question applies equally by replacing "Javascript" with "WASM".
I'm really sorry! What I meant to say is that the question applies equally by replacing "Javascript" with "WASM".
3
u/IloveReddit84 Jun 20 '18
JavaScript might be easy to get in and experiment, but for production-ready software, it should be the last choice.