[-] BatmanAoD@programming.dev 49 points 3 months ago

Well now you've seen it elsewhere, too.

[-] BatmanAoD@programming.dev 140 points 6 months ago* (last edited 6 months ago)

Hello, Rust developer. [My name, etc.] It works fine, and is written in C++. [Rest of challenge is the same.]

Truly diabolical

69
submitted 1 year ago* (last edited 1 year ago) by BatmanAoD@programming.dev to c/programmer_humor@programming.dev
[-] BatmanAoD@programming.dev 74 points 1 year ago

I honestly don't even understand the joke. Case-insensitive file names cause problems, but what does that have to do with version control branch names?

43
A classic tale (thelemmy.club)
[-] BatmanAoD@programming.dev 40 points 1 year ago

In reality, that was added four and a half years after this issue was opened.

[-] BatmanAoD@programming.dev 44 points 1 year ago

In the universe where the list is sorted, it doesn't actually matter how long the destruction takes!

[-] BatmanAoD@programming.dev 150 points 1 year ago

Reminds me of quantum-bogosort: randomize the list; check if it is sorted. If it is, you're done; otherwise, destroy this universe.

[-] BatmanAoD@programming.dev 50 points 1 year ago

Cool! Oracle, a company famous for making good-will decisions, and open to being "urged" into doing the right thing. 🙄

I suppose the open letter is a nice gesture, and I hope that the petition to cancel the trademark succeeds.

[-] BatmanAoD@programming.dev 43 points 1 year ago

I was hoping this might start with some actual evidence that programmers are in fact getting worse. Nope, just a single sentence mentioning "growing concern", followed by paragraphs and paragraphs of pontification.

[-] BatmanAoD@programming.dev 42 points 2 years ago* (last edited 2 years ago)

Unlikely, unless his view has changed substantially in the last seven years: https://blog.cleancoder.com/uncle-bob/2017/01/11/TheDarkPath.html

I think his views on how to achieve good quality software are nearly antithetical to the goals of Rust. As expressed in that blog post and in Clean Code, he thinks better discipline, particularly through writing lots and lots of explicit unit tests, is the only path to reliable software. Rust, on the other hand, is very much designed to make the compiler and other tooling bear as much of the burden of correctness as possible.

(To be clear, I realize you're kidding. But I do think it's important to know just how at odds the TDD philosophy is from the "safe languages" philosophy.)

[-] BatmanAoD@programming.dev 73 points 2 years ago

The logo and "join our Discord" text are more than half cut off for me. Is that the original cropping, or is it a client (Jerboa) issue?

[-] BatmanAoD@programming.dev 63 points 2 years ago

Not quite what you're asking for, but I wish Erlang had gotten popular before Java took off. I think that could have massively changed the course of "mainstream" languages. Maybe the JVM itself would have been BEAM-inspired. Heck, in an ideal world, the Netscape corporation and Brendan Eich would have created something based on Erlang/BEAM to ship with Navigator, instead of inventing JavaScript.

[-] BatmanAoD@programming.dev 54 points 2 years ago

It's actually quite amusing to me that Wikipedia is an authority on "reliability". It makes perfect sense, but can you imagine explaining that to a public school teacher twenty years ago?

33
submitted 2 years ago* (last edited 2 years ago) by BatmanAoD@programming.dev to c/rust@programming.dev

Almost five years ago, Saoirse "boats" wrote "Notes on a smaller Rust", and a year after that, revisited the idea.

The basic idea is a language that is highly inspired by Rust but doesn't have the strict constraint of being a "systems" language in the vein of C and C++; in particular, it can have a nontrivial (or "thick") runtime and doesn't need to limit itself to "zero-cost" abstractions.

What languages are being designed that fit this description? I've seen a few scripting languages written in Rust on GitHub, but none of them have been very active. I also recently learned about Hylo, which does have some ideas that I think are promising, but it seems too syntactically alien to really be a "smaller Rust."

Edit to add: I think Graydon Hoare's post about language design choices he would have preferred for Rust also sheds some light on the kind of things a hypothetical "Rust-like but not Rust" language could do differently: https://graydon2.dreamwidth.org/307291.html

view more: next ›

BatmanAoD

0 post score
0 comment score
joined 2 years ago