Skip to content

Commit 744b1bd

Browse files
committed
modify
1 parent 6097989 commit 744b1bd

File tree

4 files changed

+68
-2
lines changed

4 files changed

+68
-2
lines changed
-133 Bytes
Binary file not shown.

src/chapter_7/frameworks.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@
1717
- [twitter thread](https://twitter.com/Kerollmops/status/1410613829147324424?s=20)
1818
- [MeiliSearch](https://github.com/meilisearch/MeiliSearch)
1919

20+
## Fluvio:现代化可编程流处理平台
21+
22+
[https://www.infinyon.com/blog/2021/06/introducing-fluvio/#fluvio-programmable-platform-for-data-in-motion](https://www.infinyon.com/blog/2021/06/introducing-fluvio/#fluvio-programmable-platform-for-data-in-motion)

src/chapter_7/hots.md

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,62 @@ Buck 是 Facebook 在 2013 年的Facebook Mobile DevCon上亮相的一个快速
3636

3737
近日 Discord 工程师尝试用 copilot 来辅助开发 Rust 项目。效果不是很好。
3838

39-
视频观看:[https://t.me/rust_daily_news/4914](https://t.me/rust_daily_news/4914)
39+
视频观看:[https://t.me/rust_daily_news/4914](https://t.me/rust_daily_news/4914)
40+
41+
## rustc_codegen_gcc 的 MCP 已经被接受
42+
43+
在不久的将来,Rust 就会多一个 GCC 的后端。
44+
45+
同类项目还有 [GCC-rs ](https://github.com/Rust-GCC/gccrs),GCC-rs 是 用 Cpp 重新实现 Rustc 的一个 GCC 前端。
46+
47+
为什么有 GCC-rs 这个项目?
48+
49+
1. 想要支持更多的 CPU 架构
50+
2. 跨语言 LTO。GCC-RS FAQ将Linux列为激励示例。 具有讽刺意味的是,Linux支持ltvm但不是gcc!
51+
3. Rust 自举(Bootstrap)链很长,因为需要从C到OCAML,然后编译预发布 Rust 以编译 Rust 1.0编译 Rust 1.1 、1.2等,直到捕获最多1.53(或者最新版本)。 因此,如果您可以用C++中编写的 Rust 编译器直接编译1.53,则可以节省一些时间。
52+
4. 复用 GCC 插件
53+
54+
[rustc_codegen_gcc](https://github.com/antoyo/rustc_codegen_gcc) 作者认为 GCC-rs 其实没有很好的解决这些问题。
55+
56+
rustc_codegen_gcc 项目只需将GCC插入现有的Rust编译器作为代码生成后端,就可以简单的达成这些目标。
57+
58+
该项目的主要目标是能够在LLVM不支持的平台上编译 Rust 代码。 次要目标是检查使用GCC后端是否提供任何编译速度改进。
59+
60+
现在 rustc_codegen_gcc 已经被接受,gcc-rs 该何去何从?
61+
62+
相关阅读:[Rust 与 开源 | GPL 许可证引发的问题](https://zhuanlan.zhihu.com/p/387946955)
63+
64+
## Rust GameDev #23
65+
66+
这一期游戏开发报告中包含了一些很有创意的游戏。写 Rust 累了,可以玩一玩,都是开源的。
67+
68+
1. 吃尾蛇。支持wasm,可以网页玩耍。关卡设计的很有心。基于 bevy 0.5 实现。
69+
70+
- [https://github.com/szunami/taileater/](https://github.com/szunami/taileater/)
71+
- [https://szunami.itch.io/taileater](https://szunami.itch.io/taileater)
72+
73+
2. Egregoria,模拟城市建设者,试图复制现代社会以及尽可能复制。基于 Legion ecs 实现。
74+
75+
[https://github.com/Uriopass/Egregoria](https://github.com/Uriopass/Egregoria)
76+
77+
78+
3. Blightmud ,是一款 命令行终端的 mud 客户端,可以支持很多 mud server,比如 bat.org 等。
79+
80+
[https://github.com/Blightmud/Blightmud](https://github.com/Blightmud/Blightmud)
81+
82+
4. Dango, 多人物理沙盒游戏。基于 bevy , Nphysics 物理引擎, CrystalObs 网络库等。Dango 目前在浏览器中基于wasm 运行 server,其他玩家通过 webrtc 加入。
83+
84+
[https://github.com/ErnWong/dango-tribute](https://github.com/ErnWong/dango-tribute)
85+
86+
5. hyper-farmer : 基于bevy实现,游戏虽然简单但是挺有创意,锻炼双手协调
87+
88+
- [https://wilsk.itch.io/hyper-farmer](https://wilsk.itch.io/hyper-farmer) 在线玩
89+
- [https://github.com/will-hart/cloud-surfer ](https://github.com/will-hart/cloud-surfer )
90+
91+
6. fish-game,基于 macroquad 游戏引擎实现,支持wasm
92+
93+
- [https://fedorgames.itch.io/fish-game](https://fedorgames.itch.io/fish-game) 在线玩
94+
- [https://github.com/heroiclabs/fishgame-macroquad](https://github.com/heroiclabs/fishgame-macroquad) 源码
95+
- [https://github.com/not-fl3/macroquad](https://github.com/not-fl3/macroquad) 游戏引擎
96+
97+
[https://gamedev.rs/news/023/](https://gamedev.rs/news/023/)

src/chapter_7/learn.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ PragProg 出版社出的一本新书 《Hands-on Rust》,以游戏开发为主
2626
Tezos 是一个开源去中心化区块链网络,为智能合约和数字资产提供平台。 之前 Tezos 节点使用 serde 来序列化/反序列化二进制,但是这样始终维护着一个中间结构,占用了 CPU 和 内存。所以他们使用 nom 直接对二进制流进行解析,就消除来这个中间结构,提升了性能。
2727

2828
- [https://medium.com/tezedge/speeding-up-incoming-message-parsing-by-3-to-10-times-by-switching-from-serde-to-the-nom-library-a74b04391bb4](https://medium.com/tezedge/speeding-up-incoming-message-parsing-by-3-to-10-times-by-switching-from-serde-to-the-nom-library-a74b04391bb4)
29-
- [https://github.com/tezedge/tezedge](https://github.com/tezedge/tezedge)
29+
- [https://github.com/tezedge/tezedge](https://github.com/tezedge/tezedge)
30+
31+
## Rust 概念解惑 | Deref vs AsRef vs Borrow vs Cow
32+
33+
- 英文:[https://dev.to/zhanghandong/rust-concept-clarification-deref-vs-asref-vs-borrow-vs-cow-13g6](https://dev.to/zhanghandong/rust-concept-clarification-deref-vs-asref-vs-borrow-vs-cow-13g6)
34+
- 中文:[Rust 概念解惑 | Deref vs AsRef vs Borrow vs Cow ](https://mp.weixin.qq.com/s/OdcLb5U8QCeYH08feThN7w)

0 commit comments

Comments
 (0)