Skip to content

Comment on A Solution to CPU-intensive Tasks in IO Loops

Comments

Doesn't erlang effectively do this, allowing its processes to only execute a certain amount of vm instructions before allowing a switch to another process?

Yes, it is one of the neat languages with the green threads that I alluded to towards the end of the article.

Your description also fits CPython, though ;)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.