Content deleted Content added
Line 42:
:I disagree with saying that JS engines are ''only'' implementations of the ES standard; the major ones now run WebAssembly too, which is standardized independently of ES. -[[User:Pmffl|Pmffl]] ([[User talk:Pmffl|talk]]) 19:29, 23 February 2024 (UTC)
::Ah yes, I see [https://v8.dev/docs here] "V8 implements ECMAScript and WebAssembly". What do you say of the following?
::"JavaScript engines are [[Programming language implementation|implementations]] of the ECMAScript standard. Some JavaScript engines also implement other language standards."
Line 49 ⟶ 50:
::"JavaScript engines often consist of an [[Programming language implementation|implementation]] of the ECMAScript standard. They may ''also'' contain implementations of other language standards."
::The main thing I want to prevent by rewording it is people thinking JavaScript engines are more than language implementations, which they're not (afaik). [[User:Niels.bom|Niels.bom]] ([[User talk:Niels.bom|talk]]) 16:40, 28 February 2024 (UTC)
:::I don't see how people would think of these engines as more than language implementations. The current opening paragraph states: "A JavaScript engine is a software component that executes JavaScript code. The first JavaScript engines were mere interpreters, but all relevant modern engines use just-in-time compilation for improved performance."
:::The words "component", "interpreter", "compilation" all imply implementation. I prefer to state it as a "component" up-front, because that emphasizes the engine is part of a larger system (a browser or a runtime). So I prefer to keep the lede the way it is. -[[User:Pmffl|Pmffl]] ([[User talk:Pmffl|talk]]) 15:14, 29 February 2024 (UTC)
|