【Rust日報】2019-09-22 - 重磅:利用 Rust,加速 numpy 棧 100x 的速度
- 2019 年 10 月 6 日
- 筆記
s3rs - Amazon S3 富客戶端
S3 是亞馬遜的存儲服務。這個庫是 rust 實現的客戶端,功能相當豐富,基本涵蓋了 Amazon S3 的所有功能。
Repo: https://github.com/yanganto/s3rs
重磅:Neutrino - MVC GUI 框架
我們都知道,目前Rust在Native GUI框架這一塊,還是非常短的一個短板。但是並不意味著沒有探索,Neutrino就是一個嘗試。它是基於 web-view 的。利用 html 和 css 渲染頁面。來看看效果吧。



希望這個項目能堅持做下去(因為太多的Rust GUI項目半途而廢啦)。
Repo: https://github.com/alexislozano/neutrino
zemeroth - 2D六角形輪迴制策略遊戲
類似於 Linux 上著名的 wesnoth(就不要與《文明》比了吧)。長這個樣子:

還可以在線玩:https://ozkriff.itch.io/zemeroth
Repo: https://github.com/ozkriff/zemeroth Read More: https://ozkriff.games/2019-09-21--devlog-zemeroth-v0-6/
重磅:利用 Rust 和 LLVM 構建中間表示平台,加速 numpy, scikit 和 pandas 棧 100x 的速度
作者關於 weld(機器學習中間組件框架) 的長篇博文。作者的以下思路,我覺得很重要,這也是 Rust 想在科學計算,機器學習領域等大展身手的一個可能的方向:
After working for weeks with Python』s and R』s data science stack I started to ask my self if there could be a common intermediate representation, similar to CUDA, that could be used by many languages. There should be something better than reimplementing and optimizing the same methods in each language. In addition to that, having a common runtime that could optimize the whole program instead of each function separately would be better.
weld 的核心開發者之一是 Matei Zaharia,它也是 Spark(對,就是那個 scala 大數據流式計算框架) 的創建者。
他們選擇 Rust 來實現 weld 的原因在於:
- 最小 runtime,可以方便嵌入其它語言,比如 Java 和 Python
- 可以用函數式範式編程,方便編譯器優化
- 很好的社區和高品質的包,讓開發更容易
Read More: https://notamonadtutorial.com/weld-accelerating-numpy-scikit-and-pandas-as-much-as-100x-with-rust-and-llvm-12ec1c630a1?gi=97f3d8faf344
- Weld
- Grizzly
- WeldNumpy