4 ms·
> Even with transpired languages or WASM, you still have to use the platform, but now in a non standard language. That's the entire point of WASM: To program i
by gwbas1c 1y ago
> Even with transpired languages or WASM, you still have to use the platform, but now in a non standard language.
That's the entire point of WASM: To program in the browser using any language you want.
IMO, the big flaw is WASM is that browser APIs aren't "first class." IE, all calls to the browser APIs have to go through JavaScript.
- dexwiz 1y agoThat's my point, it's still calling JS at the end of the day. Unless you have some computationally expensive functionality that needs optimization like a large Canvas or Excel-esque table, what's the advantage? Just avoiding JS is not enough of a reason for me. In principle I support WASM, but in actuality I think it falls short for the majority of applications. It's much easier to learn JS than the web platform. Might as well learn it in the primary language.
- gwbas1c 1y agoI disagree; language choice for a project has a lot of factors: Team familiarity, the need to compile or not, ect, ect. This is why there are also languages like TypeScript, but they wouldn't work in our case because we want to keep the corpus of languages small.
- xigoi 1y ago> It's much easier to learn JS than the web platform. Just because I know JavaScript doesn’t mean I want to use it. It’s an ugly and cumbersome language.