Filtering out real Rustlang related content from spam is tricky, so if you are finding some retweets to be uninteresting, consider using https://t.co/2hVWvZFmke. For example you could mute "@playrust" to reduce the Rust game related tweets that are sometimes mistagged.
Lots of talk about try / catch...
I wrote an article about a different style of handling errors that pulls from Result in many languages including #rustlang
https://t.co/1Ys7vLFbjP
Important setting in @clion_ide when coding in #rustlang to prevent it needlessly saturating a mobile hotspot's bandwidth every time you start the IDE. Off by default.
Ideally this would be sensitive to metered and slow connections.
🦀 Rust lang tip:
How do you test optional features in Rust?
You can use cfg! macro to get a boolean value at runtime.
For example, assert!(cfg!(feature = “foo”)); will check if foo feature is enabled.
#rust#rustlang#learnrust
We finish of nearly a week of events with the #rustnationuk Post-Conference Brunch focusing on @rustlang in enterprise.
A big thank you to @redbadger for hosting us and our Keynote speaker @jonhoo
Some fantastic insights shared.
#rustlang 🦀
Congrats to https://t.co/P4Sd0tUAmA, which has grown by 225 stars in the last 7 days and has reached 238 stars.
Thanks to the contributors: @wcrichton
https://t.co/2ItxSRmIiE
#rustlang
#RustChallenge
Simple rust challenge for you
What is the result?
A. Prints AstraKernel
B. Panics with error AstraKernel
C. Compilation error
D. Prints nothing
#rustlang#rust
Vote here 👇
String concatenation is interesting brainwork in #rustlang
Correct me if I'm wrong about the following
A &str gets copied into an owned String to avoid creating a whole new copy.
Still trying to figure out how to concatenate 2 &str without using the format! macro.
Making progress on my hot-reloading graphics engine. plug-in architecture, data driven render pipelines and graphs, just spending the morning creating geometry primitives. Only issue is the ~5 second build time. Source code >> https://t.co/vV9AojrgsQ #rustlang#screenshotsaturday
In the previous post, we implemented base64 encoding but it only works for non-unicode characters. In this post, we will enhance our `base64_encode` function to make it support the whole planet!
#DEVCommunity#RustLang
https://t.co/ntEGZrErhK
✨ Rust challenge explained
Answer: D.
(Not going to in depth)
👉 * is deference operator - gets the value that a reference is pointing to
👉 & is reference to value
#rustlang#rust
The #RustLang katas continue following on from the workshops @JSFacchini and @MattsiJansky held at #RustNationUK - Jocelyn takes us on the Mars Rover journey: https://t.co/gxurIHnv8y
#Kataday