3 ms·
is there any hope for all browser vendors to come together and add a new saner language to the browser to veeery slowly phase out javascript? like is this even
by dkarras 3y ago
is there any hope for all browser vendors to come together and add a new saner language to the browser to veeery slowly phase out javascript? like is this even in the horizon for the next couple decades?
- halfcat 3y agoWeb assembly will take hold long before that happens. Blazor lets you write C# that runs on the frontend. I’d expect to see more of that pattern before browser vendors replace JavaScript.
- dkarras 3y agoCompile to js languages tend to include a huge runtime which is a non-starter. The ones that don't, don't generally play well with existing js libraries anyways. I don't think WebAssembly will be the "scripting" solution for the web, is it aiming to be that? I don't think so. It is very performant and that is its thing but you don't tend to write bare wasm, and it is not a scripting solution for the web to interact with the dom. I'm talking about the language for building and adding interactivity to the webpages. I think google tried to make Dart that language but it did not gain traction for whatever reason (I don't know the language) - maybe it coming from a single vendor had something to do with it. What I was curious is that is this something that is even being discussed by the powers that be? I'll take javascript with macros as a compromise. We could at least build DSLs with it.