[Rust Daily] 2023-09-25 Is Rust + Wasm the language of AGI?

Is Rust + Wasm the language of AGI?

In her talk at GOSIM, Vivian  Rust + Wasm 是 AGI 的语言吗 demonstrated how to use Rust + Wasm to run huge language models in a 2MB package - the future is lightweight!

YouTube video https://www.youtube.com/watch?v=kY68YwJyzdQ

Demo code github https://github.com/second-state/WasmEdge-WASINN-examples/tree/master/wasmedge-ggml-llama-interactive

Add runtime benchmarks to the Rust compiler benchmark suite

This post describes the design and implementation of a runtime benchmark suite (rustc-perf) for measuring the performance of Rust programs, which was recently added to the Rust compiler suite.

Original link https://kobzol.github.io/rust/rustc/2023/09/23/rustc-runtime-benchmarks.html

rustc-perf github address https://github.com/rust-lang/rustc-perf

Use enum to represent status

Enums in Rust are more powerful than enums in most other languages. They can be used to express state transitions elegantly.

This article demonstrates some basic usage of enum, interested students can take a look.

Original link https://corrode.dev/blog/enums/

tower-sessions: 0.1.0 released

tower-sessions can provide session functions for tower and axum. It has the following features:

  • Pluggable storage backends: Arbitrary storage backends are implemented using the SessionStore trait, which completely decouples sessions from their storage

  • Axum extractor

  • Common backends available out of the box

  • Simple kv interface

  • Strongly typed sessions

github address https://github.com/maxcountryman/tower-sessions

--

From Daily Team BobQ, FBI Newbie

Community learning exchange platform subscription:

  • Rustcc Forum: support rss

  • WeChat public account: Rust language Chinese community

Guess you like

Origin blog.csdn.net/u012067469/article/details/133326931