-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implement core of Node.js net
module for servers
#16
Comments
I hope one day hackpad will support Node.js or other language runtimes. I'm not sure how close it is today since I haven't looked into the Node.js runtime yet. I do know StackBlitz has gotten there already, with a very similar strategy to hackpad. |
Hey I also know about stackblitz |
Thinking about it more today, hackpad does support some of the Node.js API today, but not all of it yet. @Innovativenut Is there a specific set of APIs in Node.js that you'd like to see in Hackpad? If you have a list in mind, that'd be very helpful. Otherwise this issue may be a bit too broad to be actionable. |
Hey @JohnStarich |
I actually don't have any specific APIs.
Ok, in that case I’ll go ahead and close this issue. We can continue discussion here if you like, but I think we’d need to narrow it down in new issues.
It’s not that I can’t work on it, it’s just too broad. I’m unable to implement the entire Node.js spec at once, so a specific list of missing features would be best. Today we’ve implemented files and processes, but that was a huge undertaking on its own. (See the Medium article on the README for more on the complexity.)
can you please tell me how you used the original go source code to build this so I can do so with nodejs.
All of the build steps are included in the Makefile if you’re curious 👍
The Go source did require some modifications for everything to work. Namely in unimplemented syscalls (starting processes was deemed nonsense for browsers, for example). Those changes are here in our fork: https://github.com/hack-pad/go
These modifications were made to the fork’s Go standard library, so hackpad had to be specially compiled to use them.
Hope that helps! 🙂
… On Oct 17, 2021, at 6:26 AM, Innovativenut ***@***.***> wrote:
Hey @JohnStarich
I actually don't have any specific APIs. Yes, I understand that it will be hard to work. If you can't work on this can you please tell me how you used the original go source code to build this so I can do so with nodejs. And did you modify the go source code and the mount it to the Virtual OS or is it the exact source code?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hey Sorry to reopen this but can you please try to implement the http and net modules using the web workers? Thank You in advance 😊 |
We can try 🙂 I'll open this up and rename to match. Let's set the scope to My time is limited, so anyone can pick this up. We can discuss design here. |
Hey, I understand that you are primarily a go programmer but is there any way with which you can implement this for running Nodejs??
The text was updated successfully, but these errors were encountered: