Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
What difference would it have from existing async capabilities in python?
Legit curious. In the best way possible my dude. Not hating on ya or anything
https://realpython.com/async-io-pyt... -
@AleCx04 No, no, no, that's exactly what got me really excited about this idea! What I mean by implementing NodeJS in Python is the library structure:
import nodepy.http
server = http.createServer(listener)
server.listen(8080)
I'll be implementing all the classes and functions myself for fun. I don't know if I'll make the project public on GitHub, as some people may confuse it for something usable -
@AleCx04 And to be clear, I'll be Pythonifying it. it will be http.create_server, not http.createServer
-
Dont mix up the runtime with modules. So you want to build the http module of nodejs with python or the whole engine? :D
-
@blackfaded V8 is the runtime, Node is a large library of extentions to that runtime, and I'm building all of the Node library in Python for fun
Related Rants
So today I've had the idea of implementing Node.JS in Python because I love Node.JS but sometimes I hate the whole ".JS" part of it. It will be a fantastic learning exercise with TCP sockets and such, and will be good for learning the more intricate parts of Python as well.
Excited for Nodepy!
rant
python
tits
nodejs
nodepy