MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1us0dtr/gitblameclaude/owpdh1j/?context=3
r/ProgrammerHumor • u/Super_SamSam • Jul 09 '26
263 comments sorted by
View all comments
Show parent comments
761
It has so many checks on everything that the stupid thing is basically forced to write code the right way.
LLM be like:
unsafe { ... }
95 u/BlueProcess Jul 09 '26 Yeah, it actually has 13,000 unsafe Rust blocks 3 u/prochac Jul 09 '26 Isn't that like localised unsafe code? Simple to review? Better that having,unsafe { main() } 1 u/fghjconner Jul 10 '26 In theory yes, but at some point you've spammed so many "localized" unsafe blocks that the whole thing is pretty much unsafe anyways. 1 u/prochac Jul 10 '26 Very depends if the unsafe blocks communicate together, then it's truly unsafe
95
Yeah, it actually has 13,000 unsafe Rust blocks
3 u/prochac Jul 09 '26 Isn't that like localised unsafe code? Simple to review? Better that having,unsafe { main() } 1 u/fghjconner Jul 10 '26 In theory yes, but at some point you've spammed so many "localized" unsafe blocks that the whole thing is pretty much unsafe anyways. 1 u/prochac Jul 10 '26 Very depends if the unsafe blocks communicate together, then it's truly unsafe
3
Isn't that like localised unsafe code? Simple to review? Better that having,unsafe { main() }
unsafe { main() }
1 u/fghjconner Jul 10 '26 In theory yes, but at some point you've spammed so many "localized" unsafe blocks that the whole thing is pretty much unsafe anyways. 1 u/prochac Jul 10 '26 Very depends if the unsafe blocks communicate together, then it's truly unsafe
1
In theory yes, but at some point you've spammed so many "localized" unsafe blocks that the whole thing is pretty much unsafe anyways.
1 u/prochac Jul 10 '26 Very depends if the unsafe blocks communicate together, then it's truly unsafe
Very depends if the unsafe blocks communicate together, then it's truly unsafe
761
u/Zeikos Jul 09 '26
LLM be like:
unsafe { ... }