3 ms·
I'm inferring that you think Rust adds too much brain drain? If so, what?
by alexchamberlain 1y ago
I'm inferring that you think Rust adds too much brain drain? If so, what?
- GardenLetter27 1y agoThe borrow checker rejects loads of sound programs - just read https://rust-unofficial.github.io/too-many-lists/ https://rust-unofficial.github.io/too-many-lists/ Aliasing rules can also be problematic in some circumstances (but also beneficial for compiler optimisations). And the orphan rule is also quite restrictive for adapting imported types, if you're coming from an interpreted language. https://loglog.games/blog/leaving-rust-gamedev/ https://loglog.games/blog/leaving-rust-gamedev/ sums up the main issues nicely tbh.
- IshKebab 1y ago> The borrow checker rejects loads of sound programs I bet assembly programmers said the same about C! Every language has relatively minor issues like these. Seriously pick a language and I can make a similar list. For C it will be a very long list!
- oconnor663 1y ago> The borrow checker rejects loads of sound programs - just read https://rust-unofficial.github.io/too-many-lists/ https://rust-unofficial.github.io/too-many-lists/ It's important to be careful here: a lot (most? all?) of these rejections are programs that could be sound in a hypothetical Rust variant that didn't assert the unique/"noalias" nature of &mut reference, but are in fact unsound in actual Rust.
- leonheld 1y agoI love Rust, but I after doing it for a little while, I completely understand the "brain drain" aspect... yes, I get significantly better programs, but it is tiring to fight the borrow-checker sometimes. Heck, I currently am procrastinating instead of going into the ring. Anyhow, I won't go back to C++ land. Better this than whatever arcane, 1000-line, template-hell error message that kept me fed when I was there.