3 ms·
You're running your whole server in python. So yes, there is only one process and its globals are very much global. Note that you are NOT writing some program
by bzbarsky 15y ago
You're running your whole server in python. So yes, there is only one process and its globals are very much global. Note that you are NOT writing some program that embeds the python interpreter and then runs it on python code of your choice.
In the case of Node, it's embedding V8. It can in fact run JS code of its choice in an environment of its choice, set up new globals, etc.