Search
Items tagged with: Rust
#Rust hit version 1.0 in 2015.
These are 42 years.
Conclusion: Rust is the answer to life, the universe and everything.
#RustLang #KiddingNotKidding #NerdHumour
https://epage.github.io/blog/2022/02/clap-31-a-step-towards-40/
Feel free to boost for visibility.
dachte ich könnte mir ja #rust mal ansehen
habe in der ersten Zeile der Installationsanleitung aufgehört zu lesen
Zeile startet natürlich mit "curl"
https://crates.io/crates/arse 0.6.0 adds accessing individual posts directly. Underneath the feature add was a major refactor of the application's core and the Engine struct itself. While rendering and load times were already very fast, I was previously loading the Tera template for every single request. Now it's done once at startup.
#Rust #FOSS
https://forum.golem.de/kommentare/opensource/windows-microsoft-bringt-rust-preview/gut-so/143372,5929550,5929550,read.html#msg-5929550 #rust
sidenote:
fn main() {
let a = 123u8;
let b:i32 = a as i32;
println!("a={:#?} b={:#?}", a, b);
}
But it only shows that you've grown up on non-typed languages. I started on Pascal back then and I always favoured strongly typed ones so #Rust looks pretty sexy to me. YMMV.
How can I convert an "i32" variable to an enum value in #rust ?
The "cast" will be in the expression of a match.
I have seen some things about deriving "TryFrom" or "FromPrimitive" traits, but I'm not sure that's up to date.
I believe it's possible, but... how ?
Please, if you know how it works, tell me. x)