Re:I love building a startup in Rust. I wouldn't pick it again
by Animats on Friday February 17, 2023 @05:13PM
(#34841315)
Google developed Go specifically so they didn't have to use C++ in high-volume web backends, which is what they did previously.
Re:I love building a startup in Rust. I wouldn't pick it again
by hot_gril on Friday February 17, 2023 @06:03PM
(#34841814)
These aren't high-volume, they're just web interfaces used internally by hundreds of people. Golang wasn't well-received either.
Re:I love building a startup in Rust. I wouldn't pick it again
by Frog0fWar on Friday February 17, 2023 @06:18PM
(#34841928)
Another (maybe even more) important motivation was to have simple, statically-typed language so that new hires can contribute to the codebase faster and the code itself is more standardized and easier to maintain at large scale.
Re:I love building a startup in Rust. I wouldn't pick it again
by hot_gril on Friday February 17, 2023 @06:44PM
(#34842133)
They basically got there with Java + some frameworks. It's not the best, but it works and has a huge ecosystem already. Some people complain that Golang is designed specifically for its original use case of specialized web backends and isn't great otherwise, or that its main design goal was being "not C++."
Yeah, it matters to have something new hires can use, which is one of the big flaws in not caring about the outside world. Our team lost three people recently because they took the job expecting low-to-mid level C++ type work and instead got this web stuff and got bored. It's either that or they get web people who struggle not to create segfaults.
Re:I love building a startup in Rust. I wouldn't pick it again
by pcwalton on Friday February 17, 2023 @08:05PM
(#34842768)
Google absolutely uses lots of C++ in high-volume web backends today. Go didn't replace it.
Re:I love building a startup in Rust. I wouldn't pick it again
by za3faran on Friday February 17, 2023 @09:36PM
(#34843269)
A few people at Google did, as far as I'm aware it didn't start as some officially sanctioned project at the company. golang has its own sets of challenges due to the limitations of the language and its error prone bare bones threading model.
This heuristic wouldn't work for my department because we build web backends in C++. I keep telling the most senior devs here that nobody does this and for good reasons (velocity etc), and their response is "who cares what the rest of the world does."