你为什么坚持使用/学rust?

Views :
Update time : 2025-06-23 06:25:14

Rust上手极快,如果你对要做的商业逻辑有全面的理解,边学边做,花两个星期跟编译器做斗争,基本就可以掌握60%了。

理解了几个智能指针Box,Rc, Arc,理解了Mutex, RwLock,这东西就是个没GC的J***a。

学学tokio的mpsc, broadcast, oneshot,这就是kotlin的channel flow, shared flow, suspendCoroutine。

有了这些,你怎么写J***a就怎么写Rust。

写完了,如果真要性能优化,再考虑把某些智能指针改成reference with lifetime。

…。

你为什么坚持使用/学rust?
Related News
Read More >>
Blog Post With Youtube Video 为什么Go仅仅160MB的安装包就可以编译程序,而Rust却还需要几个GB的VC++才能编译?
2025-06-23 20:45:16
为什么Go仅仅160MB的安装包就可以编译程序,而Rust却还需要几个GB的VC++才能编译?...
Blog Post With Youtube Video 如何评价田曦薇的长相?
2025-06-23 20:55:16
如何评价田曦薇的长相?...
Blog Post With Youtube Video 为什么LibreOffice的Windows版在国内火不起来?
2025-06-23 21:35:16
为什么LibreOffice的Windows版在国内火不起来?...
Blog Post With Youtube Video 微软会撤离中国吗?
2025-06-23 20:45:16
微软会撤离中国吗?...

Leave Your Message