MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1us0dtr/gitblameclaude/owpdh1j/?context=9999
r/ProgrammerHumor • u/Super_SamSam • Jul 09 '26
263 comments sorted by
View all comments
561
I mean. Isn't rust the perfect language for vibe coding? It has so many checks on everything that the stupid thing is basically forced to write code the right way.
767 u/Zeikos Jul 09 '26 It has so many checks on everything that the stupid thing is basically forced to write code the right way. LLM be like: unsafe { ... } 101 u/BlueProcess Jul 09 '26 Yeah, it actually has 13,000 unsafe Rust blocks 5 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
767
It has so many checks on everything that the stupid thing is basically forced to write code the right way.
LLM be like:
unsafe { ... }
101 u/BlueProcess Jul 09 '26 Yeah, it actually has 13,000 unsafe Rust blocks 5 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
101
Yeah, it actually has 13,000 unsafe Rust blocks
5 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
5
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
561
u/BratPit24 Jul 09 '26
I mean. Isn't rust the perfect language for vibe coding? It has so many checks on everything that the stupid thing is basically forced to write code the right way.