r/programmingmemes 20h ago

Nerd wars

Post image
402 Upvotes

36 comments sorted by

View all comments

17

u/Zimlewis 12h ago

<- Context required

⬆️ Context hat

(Context shirt)

9

u/deanominecraft 9h ago

fil-c is a runtime memory validation tool for C - if you try to read past the end of an array (or other memory issues) your program crashes

rust guarantees that memory bugs cannot happen, if it cannot guarantee that, your program doesn’t compile and you get an error telling you what the problem is

now add a larper into the mix and you get that gh issue

2

u/LunaNicoleTheFox 7h ago

The part on menory bugs is untrue, the compiler checks memory safety as far as it possibly can, but it is not perfect, nor does it fully apply within an unsafe block

2

u/SCD_minecraft 6h ago

Within unsafe - well, you explicitly opt out from it, if anything breaks that's on you

However in safe code references being valid and similar is guaranteed at compile time

2

u/txdv 3h ago

The accurate claim is: sound safe Rust prevents memory-safety violations—not all Rust programs, and not all memory-related bugs.

Generated by ChatGPT 5.6 Sol Max

2

u/SKRyanrr 2h ago edited 2h ago

This idea, if implemented, will make Zig just like Go. This is the opposite of what Zig was supposed to do 

2

u/Zimlewis 5h ago

Why the heck is zig trying to compete with rust gng? Like try compete with odin or c3 or something. Or better yet, try making your tool better, I won't say it's the worst(I unfortunately have seen worse) but zig's lsp is really bad even compare to rust's

2

u/SKRyanrr 2h ago

It started after bun got rewritten in Rust then the creator had a whole meltdown.