top | item 43178666

(no title)

amonroe805-2 | 1 year ago

I mean, these things aren’t static. Python may be the second most popular language (behind JS/TS) today, but what if elixir takes over 10 years from now? There is no need for browsers to implement every language-of-the-day.

Additionally, browser JS adheres to a quite strict backwards compatibility requirements. Python can and does deprecate and remove APIs, and I would imagine the community would not like to lose that flexibility.

WASM is probably the best bet here, in that it provides a well-specified low-level target, such that the door is open for other languages for anyone who is allergic to learning/using javascript.

discuss

order

dangus|1 year ago

Or perhaps you've got it backwards: there's no reason for browsers to prevent anyone from implementing any language they want.

JS and backwards compatibility gave me a chuckle...try hanging out on the web in IE11.

pjaoko|1 year ago

What is the difference between the DOM API, a JavaScript engine and the JS language specification?