6 ms·
there could be recommended runtimes, but shouldn’t the runtime be user-configurable anyway?
by cabernal 4mo ago
there could be recommended runtimes, but shouldn’t the runtime be user-configurable anyway?
- layer8 4mo agoThere is no generic “JavaScript runtime” interface that runtimes would implement, therefore support must be tailored to the specific interfaces of existing runtimes.
- sheept 4mo agoAt one point we had UMD[0], which effectively provided runtime-agnostic interface, but ES modules were incompatible with that. Deno and Bun have decent Node compatibility, so couldn't Node APIs be used as the generic runtime interface? [0]: https://github.com/umdjs/umd https://github.com/umdjs/umd
- rob 4mo ago--js-runtimes [deno|node|bun|quickjs]
- sroussey 4mo agoThere is another by Meta for react native. Forgot the name.
- nguyenkien 4mo agohermes