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

It doesn't. You can call non-async Rust and C from async Rust just fine. You just have to be beware of calling blocking things if you're not in a context where blocking is ok (i.e. in a CPU work pool thread).

I'm not sure what the GP meant, to be honest. Async "colored" code does have an tendency to "infect" more and more of your codebase, but you can still write and integrate big chunks of non-async code (e.g. a parser or a network protocol) if you're mindful about your design.



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

Search: