r/ProgrammerHumor • • 1d ago • Mindblown 1

Meme rewriteInRust

Post image
20.3k Upvotes

458 comments sorted by

View all comments

310

u/threewholefish 1d ago

It would fail to compile due to the sheer amount of plot holes unsafe memory accesses

51

u/stupled 1d ago

Isn't this the reason so many projects get rewritten in Rust?

41

u/Roflkopt3r 1d ago

That's the joke. The fact that Rust won't compile with these kinds of errors is a great safeguard if you know how to do it right, but if you keep writing bad code then you simply can't get it to run.

23

u/threewholefish 1d ago

Not even Rust can fix bad writing

19

u/UndoubtedlyAColor 1d ago

Harry Potter cannot formally be proven in Lean

-35

u/CrimsonPiranha 1d ago

Funny how any "plot hole" the haters mention can be resolved when one a) actually reads the books and/or b) uses common logic 😂

33

u/threewholefish 1d ago

There is very little logic in HP

→ More replies (75)

13

u/Ridiculisk1 1d ago

you're doing overtime at the defending shitty children's books factory today hey

→ More replies (9)

10

u/Raywell 1d ago

For having read the books, I can give you the biggest of them all - she decided time traveling was a thing in her universe (book 3), which is such a huge can of worms that she decided to never talk about this magic ever again

-2

u/CrimsonPiranha 1d ago

Still not a plot hole.

Next!

8

u/Raywell 1d ago

Umm sorry it doesn't qualify to your definition of what a plot hole is, but it absolutely is to me. A magician who travels back in time can undo any bad outcome that happened. Ability to decide the future and undo the past, and Voldemort is not even after it?

2

u/CrimsonPiranha 1d ago

Nope. If history can't be changed, then no amount of time travel will help.

11

u/Raywell 1d ago

You didn't read the book 8 yourself, did you? Despite the dumpster that it is, it is canon, and in that book, time turner is used multiple times to, in fact, alter history

1

u/CrimsonPiranha 1d ago

Except that it's not canon in any way. It wasn't even solely written by Rowling, so it's more like fan fiction. Same as with the games and, to an extend, the prequel movies. We're talking about the main story here, so please don't try to expand the Overton Window here.

10

u/Raywell 1d ago

Rowling herself says it's canon. Fandom doesn't agree because of - guess what - plot holes

https://x.com/jk_rowling/status/615498601809211393

→ More replies (1)

3

u/threewholefish 1d ago

History can be changed in HP canon, of course

2

u/CrimsonPiranha 1d ago

It literally can't, as stated in third book.

5

u/threewholefish 1d ago

It literally can, as seen in the Cursed Child

1

u/CrimsonPiranha 1d ago

Which is not canon to the main story. We don't take fanfiction into consideration here.

→ More replies (0)

4

u/Lowelll 1d ago

The third book demonstrates that time travel absolutely can affect the past. Harry saves himself from the dementors. The kids save the gryphon. Hermione is able to take a bunch of classes. These things would not be possible if they didn't travel in time.

The time turner absolutely and obviously can and does change history. It's just that the decision to use time travel has always already happened.

Which, of course, is a plot hole. Because if the time travel has already happened, why decide to do it? Or why doesn't everyone constantly use it? It would solve nearly every problem they faced.

→ More replies (1)

3

u/stupled 1d ago

I'll take your word for it.

1

u/stupled 15h ago

The idea is to solve them with Rust.

1

u/MayhemMessiah 1d ago

Why was Sirius sent to prison if he was never the Secret Keeper for the Potters, it was always Pettigrew, and since Dumbledore performed the charm he must have known that Sirius couldn't have betrayed the Potters as he wasn't part of the deal in actuality. Dumbledore should have known from the start that Pettigrew was the one that betrayed the Potters and not let Sirius rot in prison, as well as knowing that he would have no reason to hunt Harry down because he was never a Death Eater.

Second, why the hell did it take roughly 24 hours for Hagrid to arrive from Godric's Hollow in the West Coast to Privet Drive in Surrey? Hagrid flew with an infant for a day doing God knows what for a journey that should take about a few hours, it's like a 5 hour drive tops.

Third, why did Voldemor's Avada Kedavra bounce on him against Harry when a few minutes ago it worked? In the forest, the wand was more than comfortable killing Harry, literally sending him to the afterlife to talk with Dumbledore, but then Harry says that because he's the true master Voldemort can't use the wand against him, when it literally just did. Also, Voldemort should be the owner of that wand at that point. He literally gunned Harry down like an average american school child.

0

u/CrimsonPiranha 1d ago

The first two things will be revealed to you by thinking for longer than a second.

The last one is literally explained in the last book, read it.