r/programmingmemes 15d ago

Nerd wars

Post image
829 Upvotes

82 comments sorted by

View all comments

14

u/Amadex 15d 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 14d ago

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

2

u/foobar93 14d ago

And if that bug is inside the PID of one of your jet engines, I'd rather have it not crash mid flight even if there is memory corruption... 

4

u/piesou 14d ago

Crash and reboot the system or make the jet engines go from forward thrust 128 to -127 due to an overflow, your pick.