#Rust
SAP内部,貌似对Rust重度使用,所以他们对自己项目里使用到的项目upstream提了很多改进方案,比如:
对async-trait:https://github.com/dtolnay/async-trait/pull/189
对openraft:https://github.com/datafuselabs/openraft/pull/220
这两个老哥貌似都是一起在SAP内部为一个项目work的。
SAP内部,貌似对Rust重度使用,所以他们对自己项目里使用到的项目upstream提了很多改进方案,比如:
对async-trait:https://github.com/dtolnay/async-trait/pull/189
对openraft:https://github.com/datafuselabs/openraft/pull/220
这两个老哥貌似都是一起在SAP内部为一个项目work的。
GitHub
Option to allow 'async fns' to return 'impl Future' instead of 'Box<dyn Future>' by wvwwvwwv · Pull Request #189 · dtolnay/async…
Hi,
First of all, thanks a lot for your great code that has helped us (some developers at work, SAP) a lot. The background of this PR is, we extensively use GAT, generics, and asynchronous function...
First of all, thanks a lot for your great code that has helped us (some developers at work, SAP) a lot. The background of this PR is, we extensively use GAT, generics, and asynchronous function...
#Rust
《pretzelhammer's Rust blog》
https://github.com/pretzelhammer/rust-blog
其中的《Tour of Rust's Standard Library Traits》有中文翻译:
https://github.com/pretzelhammer/rust-blog/blob/master/posts/translations/zh-hans/tour-of-rusts-standard-library-traits.md
《pretzelhammer's Rust blog》
https://github.com/pretzelhammer/rust-blog
其中的《Tour of Rust's Standard Library Traits》有中文翻译:
https://github.com/pretzelhammer/rust-blog/blob/master/posts/translations/zh-hans/tour-of-rusts-standard-library-traits.md
GitHub
GitHub - pretzelhammer/rust-blog: Educational blog posts for Rust beginners
Educational blog posts for Rust beginners. Contribute to pretzelhammer/rust-blog development by creating an account on GitHub.
❤4
❤9👍3
#Rust
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8aebac82933ff1a7c8eede18cab11e1115e2062b
Rust for Linux已经被合并到了Linux内核代码的主干分支了。
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8aebac82933ff1a7c8eede18cab11e1115e2062b
Rust for Linux已经被合并到了Linux内核代码的主干分支了。
👍27
#Rust
《The What and How of Futures and async/await in Rust》
哥们真是硬核,开着视频敲代码生生讲了4个小时,但是我自己看下来感觉这样的效率对观众来说可能并不算高:
* 不能搜索里面的关键字,这导致回头想精准得看其中的一部分比较麻烦
* 听力问题可能有一些表达听不懂(清楚)
* 中间有一些表达作者感觉还在酝酿更好、准确的表达,这些时间被浪费了。
所以我感觉还是写成文档会更好一些,现在我把“写文档”类比成内存里的数据落盘,而数据在落盘之前都会被规整成一个更合理的格式的。
《The What and How of Futures and async/await in Rust》
哥们真是硬核,开着视频敲代码生生讲了4个小时,但是我自己看下来感觉这样的效率对观众来说可能并不算高:
* 不能搜索里面的关键字,这导致回头想精准得看其中的一部分比较麻烦
* 听力问题可能有一些表达听不懂(清楚)
* 中间有一些表达作者感觉还在酝酿更好、准确的表达,这些时间被浪费了。
所以我感觉还是写成文档会更好一些,现在我把“写文档”类比成内存里的数据落盘,而数据在落盘之前都会被规整成一个更合理的格式的。
YouTube
The What and How of Futures and async/await in Rust
Futures are Rust's way of expressing asynchronous computations, but even after reading the documentation, it can be hard to figure out how all the pieces of futures (and tokio) fit together. While this may not matter too much if you're just *using* futures…
👍5
#Rust
Rust Analyzer 作者亲自教你如何 hack 它:https://www.youtube.com/watch?v=I3RXottNwk0&feature=youtu.be
原推:https://twitter.com/RustTalk/status/1582916057093656576
Rust Analyzer 作者亲自教你如何 hack 它:https://www.youtube.com/watch?v=I3RXottNwk0&feature=youtu.be
原推:https://twitter.com/RustTalk/status/1582916057093656576
YouTube
Explaining Rust Analyzer: 01 Repository Overview
Discussion: https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/ERA.20series
Playlist: https://www.youtube.com/playlist?list=PLhb66M_x9UmrqXhQuIpWC5VgTdrGxMx3y
Playlist: https://www.youtube.com/playlist?list=PLhb66M_x9UmrqXhQuIpWC5VgTdrGxMx3y