Y
Hacker News
new
|
ask
|
show
|
jobs
by
Eiwatah4
4490 days ago
In Rust, (right now) you can choose between a 1:1 or a N:M mapping between OS threads and Rust tasks. With N:M threading, the runtime necessarily does (some of) that internally.
1 comments
pcwalton
4489 days ago
Incidentally, Servo uses both: we use 1:1 for the parallel layout worker threads and M:N for the script and layout tasks.
link