Maximilian
Lifer
So im still thinking about technologies for the website im gonna put together, im becoming sold on JavaScript for the front and the backend with node.js and using JSON to communicate between the two. JavaScript is a language I don't know a lot about (learned java at uni) except from the codecademy course I did which gave me a basic understanding of it.
My question is, what is the JavaScript equivalent for threading? In Java to serve many users at once a ServerSocket creates a Socket object for that user and then that Socket is passed off onto its own newly created Thread so the ServerSocket can go back to listening for clients. Whats the JavaScript equivalent to that behavior?
My question is, what is the JavaScript equivalent for threading? In Java to serve many users at once a ServerSocket creates a Socket object for that user and then that Socket is passed off onto its own newly created Thread so the ServerSocket can go back to listening for clients. Whats the JavaScript equivalent to that behavior?