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

#1

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

#2

how is this multi threaded

0 Likes

#3

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.

0 Likes

#4

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

0 Likes

#5

The cluster module spawns processes, not threads.

Very nice work though. :ok_hand:

0 Likes