You don't need to debug if there are no bugs. Any valid Rust syntax is guaranteed to be bug free and do exactly what you intend for it to do. The people that still debug are the ones who haven't figured out that smashing your face on the keyboard and pushing straight to production is perfectly valid in the Rust context.From reddit
Reddit
NullSurplus's comment on "How do you usually debug your Rust code?"
Explore this conversation and more from the rustjerk community
👎1
Forwarded from Awesome Rust
cargo-show-asm: get asm of any local crate or library or function
https://github.com/pacak/cargo-show-asm
#cargo #asm
https://github.com/pacak/cargo-show-asm
#cargo #asm
GitHub
GitHub - pacak/cargo-show-asm: cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code
cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code - GitHub - pacak/cargo-show-asm: cargo subcommand showing the assembly, LLVM-IR and MIR generated for Rust code
👍4👎1
Support for Rust is being added to the Chromium project, so that contributors could use Rust libraries from their C++ source.
https://security.googleblog.com/2023/01/supporting-use-of-rust-in-chromium.html?m=1
https://security.googleblog.com/2023/01/supporting-use-of-rust-in-chromium.html?m=1
Googleblog
Supporting the Use of Rust in the Chromium Project
Posted by Dana Jansens (she/her), Chrome Security Team We are pleased to announce that moving forward, the Chromium project is going to s...
👍2👎1🔥1
"It moves too slow ... still lacks support for null" 🤡
Rust critique parody by fasterthanlime: https://youtu.be/ul9vyWuT8SU
Rust critique parody by fasterthanlime: https://youtu.be/ul9vyWuT8SU
YouTube
10 Reasons Not To Use Rust (The Whole Truth)
Follow me on Mastodon: https://hachyderm.io/@fasterthanlime
Support my work: https://fasterthanli.me/donate
00:00 Intro
00:13 What's Rust?
00:49 Number 1
01:10 Number 2
01:35 Number 3
02:01 Number 4
02:27 Number 5
02:47 Number 6
03:10 Number 7
03:30 Number…
Support my work: https://fasterthanli.me/donate
00:00 Intro
00:13 What's Rust?
00:49 Number 1
01:10 Number 2
01:35 Number 3
02:01 Number 4
02:27 Number 5
02:47 Number 6
03:10 Number 7
03:30 Number…
😁7👎1
Ferris-Chan 🦀
Original - https://www.reddit.com/r/rust/comments/10nt0el/media_ferrischan_i_never_saw_anime_girl_for_rust
Original - https://www.reddit.com/r/rust/comments/10nt0el/media_ferrischan_i_never_saw_anime_girl_for_rust
👎2🔥1🤩1
Scala Resurrection by John A De Goes
Critical problems in Scala:
- Scala 3 is still rather academic, should focus more on being production ready
- Scala 3 is not backwards compatible (Interesting to note this negative reaction to Scala 3 in context of recent Rust 2.0 proposals. I also think that any Rust 2.0 should just be a different language)
- Still poor IDE and build tools support
- Still only focused on JVM
- Difficult and opinionated community in a rather unopinionated language
Critical problems in Scala:
- Scala 3 is still rather academic, should focus more on being production ready
- Scala 3 is not backwards compatible (Interesting to note this negative reaction to Scala 3 in context of recent Rust 2.0 proposals. I also think that any Rust 2.0 should just be a different language)
- Still poor IDE and build tools support
- Still only focused on JVM
- Difficult and opinionated community in a rather unopinionated language
John A De Goes
Scala Resurrection
Scala's market may not grow any larger unless we take action to address the challenges the language faces
👎1
Forwarded from ozkriff.games 🦀 (ozkriff🇺🇦)
# The Old Ways
A bit of nostalgia: how #RustLang package management looked like back in 2014 before Cargo got released? In my hobbyist experience, it usually was a mix of make, cmake, and messy shell noscripts :D
A bit of nostalgia: how #RustLang package management looked like back in 2014 before Cargo got released? In my hobbyist experience, it usually was a mix of make, cmake, and messy shell noscripts :D
😁3❤1👎1😱1
Rust Search Extension for Chrome/Firefox - https://rust.extension.sh/
Search docs, crates, builtin attributes, official books, and error codesrust.extension.sh
Rust Search Extension: The ultimate search extension for Rust
Search docs, crates, builtin attributes, official books, and error codes, etc in your address bar instantly.
👍3❤1👎1
Talks from Rust Nation UK
I have not watched them all but from what I watched, I found Living with Rust Longterm to be pretty solid. Also planning to watch going beyond Arc<Mutex> talk as it promises to have some stuff about lockfree data structures.
I have not watched them all but from what I watched, I found Living with Rust Longterm to be pretty solid. Also planning to watch going beyond Arc<Mutex> talk as it promises to have some stuff about lockfree data structures.
👍4👎1
An interesting note, I was mostly writing C# before Rust for example.
Original
One striking stat from the Rust Book Experiment is that 60% of Rust learners self-report as not proficient in a systems language (C or C++). 95% self-report as not proficient in a pure functional language (OCaml or Haskell).Original
Twitter
Tweet / Twitter
👍2👎1
Forwarded from Awesome Rust
https://blog.rust-lang.org/2023/03/09/Rust-1.68.0
Highlights:
- Sparse registry protocol for Cargo allows downloading information only about crates you're actually using.
- Local
- Default
Highlights:
- Sparse registry protocol for Cargo allows downloading information only about crates you're actually using.
- Local
Pin construction with pin! macro.- Default
alloc error handler. This allows usage of alloc on stable without requiring the definition of a handler for allocation failure (defining custom handlers is still unstable).blog.rust-lang.org
Announcing Rust 1.68.0 | Rust Blog
Empowering everyone to build reliable and efficient software.
🔥5👎1
Not a major release, but it's good to finally see some movement in getting async utility functions from external creates to std.
👎1
You can also find me on https://gloomypixels.space/@egor_ivkov now.
Not that I hate Elon Musk that much, it's just that my feed on Twitter became exceedingly less interesting as all the tech people moved to Mastodon.
Not that I hate Elon Musk that much, it's just that my feed on Twitter became exceedingly less interesting as all the tech people moved to Mastodon.
👍2👎1😁1
Just found Linus on Fediverse (e.g. Mastodon / Akkoma) - https://social.kernel.org/users/torvalds
I hope he keeps his presence there, though when he registered on Twitter it seems he quickly forgot about it.
I hope he keeps his presence there, though when he registered on Twitter it seems he quickly forgot about it.
social.kernel.org
Linus Torvalds (@torvalds@social.kernel.org)
👍2👎1