一个 Rust 语言专家写的文章,说明 Rust 适合的领域和不适合的场景,觉得说得很实在,跟我实际使用的体验比较切合,而且作者在下面这两点的看法也很有品味:
The standard library is anemic
you then have many implementations and ecosystems competing for basic features such as cryptographic primitives, async runtimes or HTTP servers, leading to incompatibilities, bugs, busywork and lost time.
async is hard
Now you have sync functions and libs, async functions and libs, and different runtimes that are incompatible and thus require dedicated libraries for I/O. When discussing with a friend who is into Python, he told me that they are experiencing the exact same problem and it creates a lot of busywork writing wrapper for sync code to be called by async code.
发起讨论 文新社区