3 ms·
That's a weird usage of the word "runtime" then. To me, the definition is closer to Wikipedia's definition of "runtime system" [0] and includes any interpreters
by cobbal 3y ago
That's a weird usage of the word "runtime" then. To me, the definition is closer to Wikipedia's definition of "runtime system" [0] and includes any interpreters, JITs, and any other language elements present while a program is running.
[0]: https://en.wikipedia.org/wiki/Runtime_system
- akiselev 3y agoIt’s Javascript. Everything is weird - from the equality coercion to the package management to left padding text.
- josephg 3y agoLeft pad is built into the language now the community has shown we can’t be trusted with anything else. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- omneity 3y agoThe runtime includes the engine (interpreter for example) and an environment, which could also include a standard library, bindings to the outside world and more. For example, in the case of node, it's a runtime built around the v8 engine, using libuv for bindings.