Forwarded from @yegor256 news (yegor256)
Media is too big
VIEW IN TELEGRAM
M167: When you deal with a weak and incompetent manager, who is not capable of finding a way to measure people's results objectively, you have to behave like an imposter. If you don't, somebody else will and the manager will think that this guy is the best guy in the team, no matter what are the actual achievements. Watch it.
There is a huge debate whether Rust needs optional arguments that can be omitted instead of using
Overusing macros is not good for many reasons and I don't think this crate should be used extensively. But for the sake of proving the fact, this can be easily supported by Rust compiler in the same generative way.
https://www.reddit.com/r/rust/comments/mu4x5k/optargs_011_functions_and_structs_with_optional
None. And as always here is a macro to do this😁.Overusing macros is not good for many reasons and I don't think this crate should be used extensively. But for the sake of proving the fact, this can be easily supported by Rust compiler in the same generative way.
https://www.reddit.com/r/rust/comments/mu4x5k/optargs_011_functions_and_structs_with_optional
reddit
OptArgs 0.1.1: functions and structs with optional arguments...
Hey r/rust, I've been working on adding optional arguments and parameters to functions and structs. I've finally released OptArgs, a crate for...
Hell yeah, who would use kubernetes when you know a DevOps guy Michael😁
https://twitter.com/tomaka17/status/1384815348063559680?s=19
https://twitter.com/tomaka17/status/1384815348063559680?s=19
Twitter
tomaka
Half of the point of using Kubernetes is that you get to have a canonical and centralized denoscription of how all your services are organized. But hey, why do this when you can ask Michael from devops team how he configured that specific server two years ago.
It really does feel like that. Actually it's quite difficult after that to get back to writing in other languages. You just expect a lot more from the compiler...
https://twitter.com/rust_foundation/status/1385310806498103297?s=19
https://twitter.com/rust_foundation/status/1385310806498103297?s=19
Twitter
Rust Foundation
"It really does feel like rustc is a big step toward the mythical Sufficiently Smart Compiler, letting you write nice code without worrying about a suite of low-level gotchas." Hear more from Reliability Project Director @cuviper => foundation.rust-lang.org/posts/2021…
Rust Language Cheatsheet. It seems like a good reference to check your knowledge of Rust topics. Also might serve as a basis for Rust tech interviews I guess.
https://cheats.rs/
https://cheats.rs/
cheats.rs
Rust Language Cheat Sheet
A single-page Rust resource for people who like high information density.
Not that I was planning to join the hype, but someone went and made an NFT of me😂. Actually quite good and the interesting fact is I was really doing Kendo for several years.
The NFT is a part of the pack that was made by some community members for some employees in our company. Never thought this good about the community 😅.
The NFT is a part of the pack that was made by some community members for some employees in our company. Never thought this good about the community 😅.
Wanted to publish this for a long time. It is an overview of different RwLock implementations for Async Rust. Actually the results were quite surprising for me. I assumed everywhere fair scheduling was used, but seems like it is not the case.
The overview is 1 year old, so some things might have changed. And I guess this needs more investigation. Though might serve as a reminder of how careful we should be with async for now, especially with locks.
https://www.reddit.com/r/rust/comments/f4zldz/i_audited_3_different_implementation_of_async/
The overview is 1 year old, so some things might have changed. And I guess this needs more investigation. Though might serve as a reminder of how careful we should be with async for now, especially with locks.
https://www.reddit.com/r/rust/comments/f4zldz/i_audited_3_different_implementation_of_async/
Reddit
From the rust community on Reddit: I audited 3 different implementation of async RwLock.
Explore this post and more from the rust community
Is Async mature enough in Rust?
Anonymous Poll
44%
Yes, can be used in production
19%
Only for personal projects
6%
Not mature enough to be used at all
31%
I am not using Rust :D
Facebook is joining Rust Foundation now!
https://developers.facebook.com/blog/post/2021/04/29/facebook-joins-rust-foundation/
https://developers.facebook.com/blog/post/2021/04/29/facebook-joins-rust-foundation/
Meta for Developers
Facebook Joins the Rust Foundation
Facebook For Developers
I so much want to publish a review on this meme and tell them not to use
unwrap😅 I guess there is no cure for this.Sometimes I start with "How did that ever work" one and then come to realise that I was actually not that stupid at the time of writing and handled all the cases 😁.
Rust 1.53 will have nested or patterns. This is actually a huge improvement for pattern matching. I remember several places in the codebase I am working on now, that could benefit from this.
https://twitter.com/m_ou_se/status/1389222957642403847?s=19
https://twitter.com/m_ou_se/status/1389222957642403847?s=19
Twitter
Mara Bos
Another exciting new feature in @rustlang 1.53: Nested or patterns. 🦀✨ This allows you to use the `|` or operator anywhere inside a pattern, instead of only at the top level: Before: Some(A) | Some(B) After: Some(A | B)
Forwarded from oleg_log (Oleg Kovalov)
I didn't manage to get into any of the async vision doc design sessions with Niko, which is sad, but it is due to time zone issues. So at least found this recent interview, which is quite cool, I like how it explores the history and elaborates on the future of Rust.
https://www.youtube.com/watch?v=alD0l_8W9Sc&t=3374s
https://www.youtube.com/watch?v=alD0l_8W9Sc&t=3374s
YouTube
Interview with Niko Matsakis, Co-lead of the Rust language team
We sit down and chat with Niko Matsakis, the co-lead of the Rust language team, compiler team member, and founding member of the Rust project.Niko's blog pos...
AWS SDK is released for Rust. I am all for these types of SDK, they promote programming deploy pipelines in some decent languages instead of bash😁.
Actually people at AWS are doing good job for the whole Rust ecosystem it seems by the latest news.
https://aws.amazon.com/blogs/developer/a-new-aws-sdk-for-rust-alpha-launch/
Actually people at AWS are doing good job for the whole Rust ecosystem it seems by the latest news.
https://aws.amazon.com/blogs/developer/a-new-aws-sdk-for-rust-alpha-launch/
Amazon
A New AWS SDK for Rust – Alpha Launch | Amazon Web Services
We’re excited to announce the alpha release of a new AWS SDK for Rust. AWS customers developing in Rust want a native Rust SDK so they can use the language constructs they are used to, and customers new to Rust want an SDK that behaves similarly to SDKs they…
New iteration of the usual Rust "Who is hiring" thread https://www.reddit.com/r/rust/comments/n78324/official_rrust_whos_hiring_thread_for_jobseekers/
reddit
Official /r/rust "Who's Hiring" thread for job-seekers and...
Welcome once again to the official r/rust Who's Hiring thread! Before we begin, job-seekers should also remember to peruse the [prior...