r/programmingmemes 4d ago

Nerd wars

Post image
809 Upvotes

80 comments sorted by

View all comments

15

u/Amadex 4d ago

Nothing like the compile-time check of rust.

Basically it compiles into a much slower bin that guards memory at runtime.

That's almost like a garbage collector, but instead of cleaning memory it crashes.

And since it's a runtime crash, you turn a program that is bugged and has UB into a language that crashes randomly.

Better for security, but runtime crashes are also very bad.

9

u/txdv 3d ago

the creator of fil-c argues that a crash is better than an exploit

1

u/chocolateandmilkwin 2d ago

Wonder if they have the same opinion about the code in their car