#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
#Rust
早年学C++的时候,觉得如果只推荐一本C++的书,那一定是《Effective C++》,这本书总结了C++里最重要、常见的一些知识点,事实上我甚至认为任何领域都需要这样一本总结出最常见知识点的书。
如今网上有人写了一个《Effective Rust》出来,也是类似的思路。
早年学C++的时候,觉得如果只推荐一本C++的书,那一定是《Effective C++》,这本书总结了C++里最重要、常见的一些知识点,事实上我甚至认为任何领域都需要这样一本总结出最常见知识点的书。
如今网上有人写了一个《Effective Rust》出来,也是类似的思路。
豆瓣
Effective C++
在国际上,本书所引起的反响,波及整个计算机技术的出版领域,余音至今未绝。几乎在所有C++书籍的推荐名单上,这本书都会位于前三名。
作者高超的技术把握力、独特的视角、诙谐轻松的写作风格、独具匠心的内容组...
作者高超的技术把握力、独特的视角、诙谐轻松的写作风格、独具匠心的内容组...
👍2
#Rust
JetBrains发布独立的Rust IDE RustOver:《Introducing RustRover – A Standalone Rust IDE by JetBrains》,之前要在JetBrains系的IDE写Rust都是走插件的路线,现在终于出了一个独立的产品。
像JetBrains这样专业做开发者工具(IDE)的公司,必然掌握了很多开发者的统计数据,衡量一个语言的流行度,有不同的数据维度,比如社区的活跃度、开源项目的数量、搜索的数量等等。商业开发工具的数量、质量也应该是一个维度,因为商业公司要为之开发新产品,这背后肯定需要数据的支撑才行。
JetBrains发布独立的Rust IDE RustOver:《Introducing RustRover – A Standalone Rust IDE by JetBrains》,之前要在JetBrains系的IDE写Rust都是走插件的路线,现在终于出了一个独立的产品。
像JetBrains这样专业做开发者工具(IDE)的公司,必然掌握了很多开发者的统计数据,衡量一个语言的流行度,有不同的数据维度,比如社区的活跃度、开源项目的数量、搜索的数量等等。商业开发工具的数量、质量也应该是一个维度,因为商业公司要为之开发新产品,这背后肯定需要数据的支撑才行。
The JetBrains Blog
Introducing RustRover – A Standalone Rust IDE by JetBrains | The RustRover Blog
“When will there be a Rust IDE?” We get this question from our users quite frequently, and today we’re happy to announce that the day has arrived. Please welcome RustRover, our standalone IDE for R
👍18🥰2
#Rust
我司xuanwo的一篇文章《Rust std fs slower than Python!? No, it's hardware!》,还登上了hacker news的热门榜。
中文版本:《Rust std fs 比 Python 慢!真的吗!?》
PS:鄙视某些把本文题目篡改称”Rust比Python慢“的自媒体,真是为了点击率什么题目都能想出来。
我司xuanwo的一篇文章《Rust std fs slower than Python!? No, it's hardware!》,还登上了hacker news的热门榜。
中文版本:《Rust std fs 比 Python 慢!真的吗!?》
PS:鄙视某些把本文题目篡改称”Rust比Python慢“的自媒体,真是为了点击率什么题目都能想出来。
xuanwo.io
Rust std fs slower than Python!? No, it's hardware!
Achieving Data Freedom Through Open Source and Rust
👍2