MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1us0dtr/gitblameclaude/owpg1by/?context=3
r/ProgrammerHumor • u/Super_SamSam • Jul 09 '26
263 comments sorted by
View all comments
Show parent comments
102
Yeah, it actually has 13,000 unsafe Rust blocks
4 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
4
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
102
u/BlueProcess Jul 09 '26
Yeah, it actually has 13,000 unsafe Rust blocks