-
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
Single HTTPS server for QuickJS, Bun, Deno, Node.js - without reliance on either to build #33
Comments
relying on either what? |
Without relying on Node.js to build a server that can be imported into QuickJS. I don't actually ever install Node.js, Deno, Bun, or QuickJS. I fetch the executables and test the gear, mainly as Native Messaging hosts. SOmebody referred me to unjs/nitro here https://www.reddit.com/r/javascript/comments/106m5i6/comment/j3isli5/?utm_source=share&utm_medium=web2x&context=3 which turns out relies on Node.js to build. So I fetch the Node.js nightly download, yet instead of what I normally do, get rid of everything except the
yet it is extremely tedious - just to build a server using Node.js that I intend to primary use in QuickJS - because In that same reddit question somebody referred me here https://www.reddit.com/r/javascript/comments/106m5i6/comment/j3lp4yu/?utm_source=share&utm_medium=web2x&context=3. I know the StackBlitz claim about Node.js in WebAssembly is suspicious because I had already asked them, and they claimed the code was essential closed-source. I don't deal with false, untrue, spurious claims - not well at least. I'm calling folks on their false claims, especially in documentation, no matter who they think they are. The result is me usually getting banned. I'm fine with that. I vet all claims, without exception; e.g.,
is not true and correct; false advertising guest271314/banned#7. |
Why I test your gear. E.g., https://gist.github.com/guest271314/93587ee12d61154fb26954e17f87e160.
I used Deno's server because the sematics resembled Then I observed QuickJS is compiled to WASM by several applications
There is no such animal that I am aware of re FOSS Node.js or Deno in WASM - because of the sheer size of V8 and dependencies - minimum 40MB to run the executable and between 250MB to 5.7GB of memory allocated. The browser tab generally can handle that and will more than likely crash or freeze the entire machine - especially if you are running a live OS on RAM only to begin with. StackBlitz claims to have compiled Node.js to WASM, yet the code is evidently closed source stackblitz/webcontainer-core#658. Not interoperable at all. You question Node.js and Deno narrative they ban you. The numbers tell the tale; QuickJS is the fastest Native Messaging host between Node.js, Deno, Bun, and QuickJS https://gist.github.com/guest271314/fb8969a956a873e495b890a42ac0d731. A few JavaScript engines makes this or that claim; from being the fastest to having this or that module; etc. I test the executable standalone until the claim breaks, or is verified true and correct. It makes sense to test the same server on different JavaScript engines. When there is a deliverable all stakeholers will have learned how to cooperate to achieve the goal, and there will be nowhere to hide behind a narrative when we are all testing the same imported code. That is interoperability. How Thus, there should be a server written in C, C++, Rust - even JavaScript that can be imported via Through the process you will see how divergent the JavaScript engines are, and how they are alike. Improving networking uniformity along the way. That is the goal. |
This is not in scope for wintercg. |
Single HTTPS server for QuickJS, Bun, Deno, Node.js - without reliance on either to build.
No such animal exists right now.
The text was updated successfully, but these errors were encountered: