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

Views :
Update time : 2025-06-24 11:00: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 做个web服务器,gin框架和go-zero怎么选?
2025-06-20 23:40:11
做个web服务器,gin框架和go-zero怎么选?...
Blog Post With Youtube Video J***a 除了 Spring 还有什么?
2025-06-20 23:05:10
J***a 除了 Spring 还有什么?...
Blog Post With Youtube Video 求大神解答,为什么大家都不喜欢用docker?
2025-06-20 23:25:11
求大神解答,为什么大家都不喜欢用docker?...
Blog Post With Youtube Video 能分享一下你写过的rust项目吗?
2025-06-20 23:45:11
能分享一下你写过的rust项目吗?...

Leave Your Message