2 ms·
> It's for JavaScript runtimes that aren't browsers Do you mean: "it's *a* JavaScript runtime that isn't a browser"? You are implying that JavaScript runtimes
by remram 3y ago
> It's for JavaScript runtimes that aren't browsers
Do you mean: "it's *a* JavaScript runtime that isn't a browser"?
You are implying that JavaScript runtimes would be the users of WinterJS. That has me even more confused.
- CharlesW 3y ago> Do you mean: "it's *a* JavaScript runtime that isn't a browser"? Good catch! It is indeed a JavaScript runtime for Service Workers. By "for", I was attempting to make the point that it's intended to be deployed to non-browser JavaScript/Wasm runtimes.
- remram 3y agoI am still confused, it's a JavaScript runtime intended to be deployed to JavaScript/Wasm runtimes? Why does a JavaScript runtime need a JavaScript runtime?
- CharlesW 3y ago> I am still confused, it's a JavaScript runtime intended to be deployed to JavaScript/Wasm runtimes? Seemingly. > Why does a JavaScript runtime need a JavaScript runtime? Because if you want to create a Service Worker server for CloudFlare Workers and other JavaScript/Wasm runtimes, that's the only option for doing that AFAIK. FWIW, this isn't a new idea. For example, Figma uses QuickJS (https://bellard.org/quickjs/ https://bellard.org/quickjs/) for their plug-in runtime: https://www.figma.com/blog/an-update-on-plugin-security/ https://www.figma.com/blog/an-update-on-plugin-security/