What is Nostr?
asyncmind /
npub1zmg…yppc
2024-10-21 21:22:04
in reply to nevent1q…v66q

asyncmind on Nostr: Idk where you get your info but erlang is 30 years old .. nd it scalea to millions of ...

Idk where you get your info but erlang is 30 years old .. nd it scalea to millions of processs on a laptop try and see for yourself


-module(spawn_million).

-export([start/0, process/0]).

start() ->
spawn_processes(1000000).

spawn_processes(0) ->
done;
spawn_processes(N) ->
spawn(?MODULE, process, []), % Spawn a new process
spawn_processes(N - 1).

process() ->
receive
stop -> ok
end.
Author Public Key
npub1zmg3gvpasgp3zkgceg62yg8fyhqz9sy3dqt45kkwt60nkctyp9rs9wyppc