水木社区手机版
首页
|版面-Rust编程语言(Rust)|
新版wap站已上线
返回
1/1
|
转到
主题:开始设计coroutines了
楼主
|
txgx
|
2022-07-19 19:13:01
|
只看此ID
https://lang-team.rust-lang.org/design_notes/general_coroutines.html
开始设计协程(coroutines)了
--
FROM 117.147.21.*
1楼
|
eGust
|
2022-07-19 19:22:40
|
只看此ID
目前从 reddit/hacker news 上看,rust 最大的痛点就是一搞 coroutines,就没办法使用简单的内存语义,不得不各种套娃。不知道有没有办法解决这个问题
【 在 txgx 的大作中提到: 】
:
https://lang-team.rust-lang.org/design_notes/general_coroutines.html
: 开始设计协程(coroutines)了
--
FROM 222.153.154.*
2楼
|
wpk
|
2022-07-20 23:12:01
|
只看此ID
有时加了新特性,语言就会变得很丑,比如go的泛型。
【 在 txgx 的大作中提到: 】
:
https://lang-team.rust-lang.org/design_notes/general_coroutines.html
: 开始设计协程(coroutines)了
--
FROM 220.181.41.*
3楼
|
munaiyi
|
2022-07-22 09:34:14
|
只看此ID
coroutines 和 async/await 有啥区别
【 在 txgx 的大作中提到: 】
:
https://lang-team.rust-lang.org/design_notes/general_coroutines.html
: 开始设计协程(coroutines)了
--
FROM 223.71.97.*
4楼
|
littleSram
|
2022-08-30 15:35:39
|
只看此ID
唉,go的泛型真是一言难尽。
最近看rust泛型很美,不过coroutines是不是比泛型的语法影响要小
【 在 wpk 的大作中提到: 】
: 有时加了新特性,语言就会变得很丑,比如go的泛型。
--
修改:littleSram FROM 221.222.20.*
FROM 221.222.20.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版