ITPub博客

首页 > 数据库 > 数据库开发技术 > 【Rust日报】2022-08-22 Rust异步编程

【Rust日报】2022-08-22 Rust异步编程

原创 数据库开发技术 作者:Rust语言中文社区 时间:2022-08-22 22:41:28 0 删除 编辑

Rust异步编程

rust 异步编程的三篇教程, 循序渐进, 新手老手都可以看看.

  • Part 1: Threads and Channels 

  • https://medium.com/@KevinBGreene/async-programming-in-rust-part-1-threads-and-channels-736f8c87b04e

  • Part 2: Scoped Threads

  • https://medium.com/@KevinBGreene/async-programming-in-rust-part-2-diving-into-scoped-threads-50aace437756

  • Part 3: Futures and Async / Await

  • https://medium.com/@KevinBGreene/async-programming-in-rust-part-3-futures-and-async-await-b508f7e44abc

compact_str: 0.6版本发布

CompactString 是一种内存效率更高的字符串类型,它可以在堆栈中存储更小的字符串,并透明地在堆中存储更长的字符串(又称小字符串优化)。它们主要用于替换String,在解析、反序列化或任何其他字符串较小的应用程序中特别有用。

目前已发布 0.6 版本.

github地址: https://github.com/ParkMyCar/compact_str

dfdx: v0.9.0 发布

dfdx 是 rust中的深度学习库(类似于python中的pytorch).它很容易使用,而且比 pytorch 或tensorflow 之类的库实现更容易理解。

原文链接: https://www.reddit.com/r/rust/comments/wu0te9/dfdx_v090_nightly_convs_transformers/

github 地址: https://github.com/coreylowman/dfdx

如何从头搭建一个 rust 的 web 服务

rocket.rs的一个基础的入门教程.

原文链接: https://medium.com/@amogh-chavan/how-to-setup-a-rust-web-server-from-scratch-d66a857525c0

--

From 日报小组 BobQin,FBI小白

社区学习交流平台订阅:

  • Rustcc论坛: 支持rss

  • 微信公众号:Rust语言中文社区


原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。

请登录后发表评论 登录
全部评论

注册时间:2020-06-11

  • 博文量
    1769
  • 访问量
    718732