Rust reigns supreme as most loved.
By @curoli. There's a lint for that.
From How to write really slow Rust code (from TWIR some time ago):
Writing code in Rust doesn’t mean your code will be blazing fast. It’s easy to make mistakes and get quite slow performance.
It's five months old, but I encountered this quote today and don't remember seeing it in here back then.
Code doesn't deal with resources until it does. Similarly with everything else that forces you to reason about control flow - you don't care about thread management until you do, you don't care about action logs until you do, you don't care about performance until you do... and from the other side, code doesn't need to be exception-safe until it does. The trouble with this kind of "magic" language feature is that correctness becomes non-compositional: you can take two working pieces of code and put them together and get something that doesn't work.
-- lmm (Mickey Donaghy) @ > Not all code deals with resources. Streaming parsers normally don't. When you ... | Hacker News
(The full name was found by following the "this is also me" in the YCombinator user profile to the associated GitHub profile.)
I've never seen Rust's "complexity" put both from that angle and as succinctly as those last two sentences.
From a zulip thread i started by Lokathor
Note: function pointers are not always aligned, though some platforms may have them be aligned
Anyway: the standard library docs say "check the nomicon"
then the nomicon says "here is some advice and ultimately we don't know, maybe check UCG"
then UCG says "ultimately we don't know it's probably like this but there's no RFC yet"
then Ralf says "probably it should be allowed if the layout matches".
I found this pretty funny
Not sure whether to include the first sentence or not, you decide
From the russian telegram chat room Telegram: Contact @rust_offtopic
Кстати я знаю чем занимается борроу чекер
Чекает не свихнулся ли ты еще
By the way i know what borrow checker does
Checks to see if you're still crazy
Isn't the translation inverted? "Не свихнулся ли ещё" literally means "isn't crazy yet".
Both are correct in their own way. The craziness is UB.
A huge of Rust is "you're holding it wrong" is considered a language bug.
Hot take: Rust isn't as hard as it's detractors think it is, and it isn't as easy as we want it to be. But I think we have a better chance of becoming easier to use than easier use languages becoming lower level without compromises.
I think Rust being difficult is like saying you had good parents because they let you play with knives. Rust may seem hard at first but borrowck is just looking after you.
To elaborate writing a fast and memory safe multi-threaded webserver is easy in Rust; if it compiles it works, but difficult in C since while it may be easier to get it to compile it might not work correctly.
the strains of the project have hurt a lot of people over the years and I think maybe the only path to recovery involves getting some distance from it.
He devoted his talk to not trolling,
"That's enough about languages that suck, let's talk about C++" - Miguel Young de la Sota speaking on Rust's handling of Pin before talking about C++ at RustConf 2021
It's nice to be quoted on TWiR.
But is that intended to be an example of a newbie mistake or bad practice? Or the opposite.