Remix.run Logo
mwkaufma 3 hours ago

Misleading use of the term "runtime" as it does not implement lua, but just links nonrust implementations into a webserver "runtime."

creata 2 hours ago | parent | next [-]

Yep. Specifically, the crate uses mlua: https://github.com/ArkForgeLabs/Astra/blob/f812bb0dc2881d740...

gpm 2 hours ago | parent | prev | next [-]

That's exactly how the term runtime is consistently used in the JS world... not sure it's misleading at all. Certainly less exciting/ambitious than if the interpreter was also rewritten, but its what it says on the tin as I understand the words.

pjmlp an hour ago | parent | next [-]

V8 and JSCore are a runtimes, everything else is made up stuff by people without background in compilers.

nerdponx 28 minutes ago | parent | prev [-]

That's not at all what a runtime is, in any context, ever. Where else have you seen this solecism? It's new to me.

gpm 2 minutes ago | parent | next [-]

> Where else have you seen this

Node.js is easily the most famous example. Also deno, bun, winterjs, and probably a bunch more.

Someone upthread just linked a bunch of other equivalent lua projects that also refer to themselves as runtimes: https://news.ycombinator.com/item?id=46036362

I've also seen discussions where wrapping the servo-browser-engine in a UI layer referred to the UI layer as a runtime, though I think that's a substantially less canonical use of the word than referring to the part of an implementation that takes requests from the interpreter and executes them in the surrounding environment as a runtime.

munificent 5 minutes ago | parent | prev [-]

First sentence of the Wikipedia article for Node.js:

> Node.js is a cross-platform, open-source JavaScript runtime environment that can run on Windows, Linux, Unix, macOS, and more.

First sentence for the Wikipedia article Deno:

> Deno is a runtime for JavaScript, TypeScript, and WebAssembly that is based on the V8 JavaScript engine and the Rust programming language.

First line of hero text from Node.js's site:

> Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

First line of hero text from Deno's site:

> Deno is the open-source JavaScript runtime for the modern web.

2 hours ago | parent | prev [-]
[deleted]