Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by dlisboa

1 day ago

That's just not what is referred to as green threads.

6 comments

dlisboa

Reply

dwattttt  21 hours ago

Yes, in implementation they are not. I'm curious what the difference in subjective experience is.

  • falserum  18 hours ago

    Green threads don’t allocate stack frames and do not require such a massive context switch, which in turn allows for many more threads.

    • LtWorf  17 hours ago

      But if you happen to call a blocking syscall everything breaks.

      3 replies →

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities