3 ms·
Rust's sync functions can block and await async functions. Which is another problem with the article: it doesn't clearly define what counts as having the "colo
by pornel 5mo ago
Rust's sync functions can block and await async functions.
Which is another problem with the article: it doesn't clearly define what counts as having the "color". The problematic dead-end situation exists in JS, but languages with cross-thread communication can work around it.