Skip to content
TILens What matters today in tech v0.4.0
Theme

Topic - Edition

Rust news

2 items on 28 Nov 2026
Rust

Avoid unecesary copy for recursive from_fn evaluation

Hello, in the following code, it seems y.clone() is unecessary because foo allocate its result completly, why is it disallow ? mwe : const N: usize = 10; fn foo(x:&[f64])->Vec<f64> { x.to_vec() } fn main() { let mut y =…

Source: Rust Users Forum yolhan83
Rust

Ideas for a project

Hi Rustaecans! I want to work on a project alongside my chat server/client, but I have no idea what to build. In the past I have built the following in rust: a chip-8 interpreter a little unix-only shell Would love to…

Source: Rust Users Forum cheese_space