-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this repository concerned with only Node.js and Deno - not QuickJS, txiki.js, Bun? #37
Comments
Per the readme,
So, I imagine a deliverable from this group would look like this by without the massive "unofficial draft" watermark. |
Right,
That is why I do not understand why this #33 was closed. That "Web-interoperable runtimes." needs specificity. Currently that phrase can be interpreted narrowly or broadly, depending on who is doing the interpreting. |
It seems like it needs to be interpreted by the runtimes themselves. If QuickJS, for example, plans to be web-interoperable, they would say so. If they haven't, then they likely aren't. |
Have you asked? If you are taking the lead in the goal, then you must be pro-active in asking potential stakeholders what their interests are, if those parties are interested in participating in your group. Have you performed due diligence to ask maintainers of JavaScript runtimes other than V8-based Node.js and Deno if they are interested in your work? For example one of the proposed specification items is How is With different servers? If there is to be true interoperability the proof would be in a design that is made by the participants and works on all implementations the same. Note, you have never actually defined "web-interoperability" in your explainer. |
A runtime can use the web-platform-tests for conformation, which is what we do for the Fastly js-compute-runtime project and it's web implementations such as fetch. For example, here are our current test results -- https://github.com/fastly/js-compute-runtime/tree/main/tests/wpt-harness/expectations |
What is Fastly js-compute? A JavaScript runtime itself? |
@JakeChampion My interest here is literally a minimal JavaScript runtime that is also capable of having a built-in HTTP Web server, and interoperability of JavaScript and Web API's. That is how I got here. Node.js and Deno do not provide a means to start with an application written in JavaScript then use that source code to build the JavaScript engine necessarily to only execute that code - and do nothing else. Not carry around V8 in C++ or Rust while not using a bulk of the predisposed built-ins and in the case of Nodes.js - a package manager, too. That is how I interpret "web-interoperability". W begin with the code and scale from there, not begin with V8 - without the ability to remove unnecessary functionality for a minimal runtime before we build. QuickJS provides a minimal JavaScript runtime, is not shipped with an HTTPS server to use for local development - so we do not have to make requests to the "cloud" to test. |
|
I don't claim to speak for the WinterCG project or any of its members, I'm just a random passerby, but it seems clear to me you're asking in the wrong place. WinterCG's website and this repo clearly state they're trying to produce specifications. This is not a new runtime. On the other issue you linked to, it was stated that building an HTTP server is out of scope for WinterCG.
It sounds like you should be petitioning QuickJS to add a server, or starting that project yourself. If you, or someone, did do that, you could choose to be compatible with whatever standard WinterCG decides to produce around web servers. I can't see any current part of the WinterCG docs suggesting they have a spec for web servers, and I don't know if they intend to produce one, but even if they did, the result would be a spec, not an implementation. |
To what end? How do you even verify an implementation is in compliance with Yes, what you linked to includes servers, this includes an HTTPS server when we are talking about
|
By using the web-platform-tests which already exist to test for conformance - https://web-platform-tests.org/ |
@JakeChampion Using what server code? |
If I am reading this correctly js-compute just makes requests to an external server API? |
@JakeChampion At js-compute-runtime-cli.js in js-compute-runtime-1.3.4 downloaded .zip file there is
which is an assumption that So Fastly js-compute depends on If I am missing something about js-compute based on making external requests to Fastly kindly direct me to the documentation where I can use js-compute runtime locally without relying on Node.js or Deno being installed or using either executable to run js-compute or the server code which is being used to test "Web-interoperable runtimes.". In other words, you can't use Node.js to test Node.js runtime. Interoperability from my vantage, is not making an assumption that |
What is the end-goal of this repository? What does a deliverable look like?
The text was updated successfully, but these errors were encountered: