Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think M:N forces a stack. The stack no stack is called stackless coroutine vs stackful coroutine.

M:N is the parallelization level. I'm actually not sure if Rust is M:1 or M:N or both based on configuration.

M is the number of concurrent process in the language, basically the number of user thread. These user threads can be implemented to be stackful or stackless, up to the language. The N is the number of OS threads.

At least that's always been my understanding.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: