[-] 5C5C5C@programming.dev 3 points 1 year ago

Just you wait...

[-] 5C5C5C@programming.dev 4 points 2 years ago

Even with modern C++ it's loaded with seg fault and undefined behavior footguns.

The times when C++ feels more ergonomic than Rust are the times when you're writing unsafe code and there's undefined behavior lurking in there, waiting to ambush you once you've sent it to production. Code that is 100% guaranteed safe is always, and I really want to emphasize this: always more ergonomic to write in Rust than it is to write in C++.

Show me any case where C++ code seems more ergonomic than its Rust equivalent, and I will always be able to show you how either the C++ code has a bug hiding in it or how the Rust code can be revised with syntactic sugar to be more ergonomic than the C++.

[-] 5C5C5C@programming.dev 3 points 2 years ago

I'm not trying to shill for Google but I really think it would be a mistake to break up Google without breaking up Microsoft simultaneously if not first. If they actually manage to crack open Google's search and browser monopoly, who do they really think is going to start filling in that void? Local mom and pop search engines..? No it's primarily going to be Microsoft with Bing and Edge, and I'm absolutely certain that whatever people don't like about Google having its monopolies is going to be orders of magnitude worse if Microsoft gains ground there.

[-] 5C5C5C@programming.dev 3 points 2 years ago

I don't know what got your goat but you're projecting an enormous amount of non sequitur into my very innocuous remark.

I was pointing out one itty bitty silver lining of an effort that's doomed to fail. I never suggested that we should be satisfied with that silver lining and call it a day.

I'm fully supportive of all actions, including those outside the realm of politics, to defend against fascism. But that's no reason to stop taking political actions, even those which we estimate to be doomed.

Porque no los dos?

[-] 5C5C5C@programming.dev 3 points 2 years ago

My only concern is the demographic that would have been too lazy to vote but now will be frothing at the mouth to vote against a black woman.

I can only hope they're outweighed by the demographic that was apathetic toward Biden but is willing to get off the couch to vote for Harris.

[-] 5C5C5C@programming.dev 3 points 2 years ago

And what if someone is convinced that acts of cruelty towards some humans is the most effective way to reduce cruelty towards a large number of animals? They might think that you're not vegan because you're allowing more cruelty towards animals to exist than they are. I have encountered self-identifying vegans who genuinely think this way.

[-] 5C5C5C@programming.dev 3 points 2 years ago

I like to imagine the profile pic changed immediately after the transition was complete, and at the time of the "completely cis" post it was something manly, like.. I don't know, hotwheels?

[-] 5C5C5C@programming.dev 3 points 2 years ago

🦀🦀🦀🦀🦀🦀🦀🦀

[-] 5C5C5C@programming.dev 3 points 2 years ago* (last edited 2 years ago)

I use thread sanitizer and address sanitizer in my CI, and they have certainly helped in some cases, but they don't catch everything. In fact it's the cases that they miss which are by far the most subtle instances of undefined behavior of all.

They also slow down execution so severely that I can't use them when trying to recreate issues that occur in production.

[-] 5C5C5C@programming.dev 3 points 2 years ago

The explication is it makes a handful of influential people very rich, and they think they'll die before the direst consequences of their actions manifest.

[-] 5C5C5C@programming.dev 3 points 2 years ago

The way I often describe it is "Rust makes functional programming feel as intuitive as object oriented programming".

Pedantically, Rust does offer a subset of object oriented programming paradigms so one could argue that it counts as an object oriented language, but the design patterns that work the best with the language are all coming from functional programming, all without feeling too alien to someone coming from a strictly object oriented background (.. which was my own path into Rust).

view more: ‹ prev next ›

5C5C5C

0 post score
0 comment score
joined 3 years ago