(On maybe not using async).
Important crab-related diagnostics improvement shipping in nightly
@rustlang
1.59:
error: Ferris cannot be used as an identifier
--> src/main.rs:2:9
|
2 | let đŚ = 123;
| ^^ help: try using their name instead: `ferris`
3 |
4 | for i in 0..đŚ {
|
So I think this is what many Rust developers means when they say zero
trustcost abstractions.
Rainer Stropek in Traits, not your grandparents' interfaces.
Please do not publish this one, (EDIT2: I don't think it's worth publishing) I just fond the slip of the tongue very funny!
EDIT: this post has been flagged as off-topic. I would have like to know why. This is a citation, about Rust, from a very interesting conference, and I selected it because it was funny. And while I think its not worth publishing it in TWIR because it doesnât bring any new insight about Rust, I think it has its place in this thread for the pleasure of people that propose and vote for TWIR citations.
This thread is for submitting Quotes of the Week for This Week in Rust. If you donât want your quote to be published, then it probably doesnât belong here (though TWiR quotes that are just funny have been published before).
By no means a "learning" kind of quote, butâŚ
I just discovered an absolutely critical bug in the Rust logo:
It's not symmetrical! The inner and outer circle of the gear don't even have the same center.
from Mara Bos here
(yes, this has somehow gone years without anyone noticing)
Oh come on, I was just about to go to sleep...
Self-nomination:
(The elision there is to avoid making any commentary on the actual issue in that topic part of the quote; in general, I think we should avoid highlighting quotes that directly comment on one side of an active topic, so I left that part out.)
Iâm saddened to think that because this industry has an obsession with making programming accessible to the lowest common denominator, expressive and innovative languages like Rust will fall by the wayside, and weâll all be writing code in languages like Go and Python in the future because theyâre âeasyâ and even high schoolers can learn them in a couple days.
By booleandilemma on hacker news
A nice reminder that sometimes the shortest answer isn't the best one.
Fun fact if you repeat "Thread scoped private field injection" 3 times to a Mirror you will summon a demon.
-- MyLifeAsSinusOfX @ Reddit - Dive into anything
For any language SomeLangâ˘:
The context of that thread is already interesting on its own, but I even think that taking that quote seriously / in a first degree fashion is actually meaningful: for some codebases written from scratch and which developed features out of an initially thin core, the newly obtained perspective on the problem ought to make rewriting that codebase "from scratch" yield cleaner, leaner, and potentially faster code (and back to that RiiR
thread, hence why sometimes the Ri
part may be just as important if not more important than the iR
part).
Self-suggestion:
The error message code will at one point become sentient and decide to send a robot back in time to save mankind from skynet [...]
I performed an extremely scientific poll on twitter, and determined this is not how it's pronounced
Well, it really is
Vec<T, A>
, pronounced Veck-tah.
Look, I moved away from Boston to avoid this sort of thing .
-- thomcc and the8472 in Remove pronunciation guide from Vec<T>
"For me, the joy of Rust comes from the fact that I can write code that represents the mental model I have of the problem" - Jon Gjengset, 2022-01-01 Q&A/AMA/Whatchamacallit.
I resonated so strong with this statement. This is the reason why I find joy in Rust and I evangelize about it.
I see a lot of âwe rewrote X in Rust and it got fasterâ posts. I think that if you rewrite anything from scratch with performance in mind, youâll see a significant performance improvement. Iâm suspicious of how much Rust itself is needed versus the developers having some performance discipline.
So why aren't we all fuzzing security-sensitive surfaces, at least for a modest number of cycles? Well that comes down to the difference between apes and programmers: apes know when they should be using tools.
-- Tiemoko Ballo @ Tiemoko Ballo