Re:Let’s Replace JavaScript with Something Better
by krapp on Thursday April 12, 2018 @07:52PM
(#16825975)
>Can you elaborate on why that isn't a good thing?
It's not a bad thing per se, but it's added complexity without any obvious benefit if that code is still doing what javascript already does, just as a binary blob, especially for simple uses like glue code around jQuery or the sort of JS running on Hacker News.
Re:Let’s Replace JavaScript with Something Better
by steveklabnik on Thursday April 12, 2018 @10:28PM
(#16826717)
> To do the same in WASM sounds rather undesirable.
This can be automated though; it's what we've been working on in Rust, and the approach is fundamentally language-agnostic.
I have experience embedding lua applications within mobile apps, and it required a fair deal of wiring in C to marshal between java and lua (android) or swift and lua (ios).
To do the same in WASM sounds rather undesirable.
Edit: to finish my thought, I dont see the problem with using a compiler toolchain to create web applications. Can you elaborate on why that isn't a good thing?