Comment

Comment by anthony_doan

Yeah it because the Erlang VM have a preemptive scheduler and each process have a mailbox which gets a designated amount of time to access cpu.

You can do a for(1) for loop and it won't hog the cpu because it get premptive. The problem is when you have large amount of problematic mails in the mailbox....

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton