Modern - Multi-threaded AS2 Club Penguin server emulator for Windows, Linux and Mac

Hello.

I’m creating a new AS2 server emulator and it’s called Modern. It’s still in development, but it’s working out well! If there’s any suggestions, tell me! I’d love to hear.

You can find Modern here: https://github.com/Zaseth/Modern

1 Like

how is this multi threaded

JavaScript code is inherently single-threaded, however you no doubt are taking full advantage of Node’s asynchronous design so IO operations may be taking place in another thread.

Aside from your description, nice work. Everything seems to be organised in a decent way and your code is easy enough to read.

I’m using the cluster module to multi thread the process and share it between workers. The amount of workers are your CPU cores.

The cluster module spawns processes, not threads.

Very nice work though. :ok_hand: