Hacker News new | ask | show | jobs
by Ygg2 1089 days ago
Great post. Aligns with my experiences. Although who thought unsafe would be bigger hurdle than borrowing.

I do wish to know did Rust impact their velocity and by how much.

2 comments

I think Google has a lot of C++ programmers who may have assumed they'd have to use unsafe so they could continue to write everything like they did in C++ (much like many refuse to use features that aren't from ancient versions of C when writing C++), but then likely in practice ended up writing much less unsafe code than they thought they would.
That can be a real problem. It's quite possible to reach a point in Rust where you have one borrow error that takes days of rewriting to fix.

This tends to lead to people putting in unsafe code to work around a borrow restriction. I don't do that, but I don't have deadlines.