News for hackers. Stuff that matters.
Re:Good-bye core types; Hello Go as we know and love it by umanwizard on Thursday March 27, 2025 @07:20AM (#43492422)
As much as I hate Go, I have to admit that it does sort of fill a niche, or at least it did at the time it was released. If you wanted something less baroque and complex than C++, but still care about performance enough to not want to use an interpreted language, and don’t want to use Java because it’s overly verbose and attracts OOP architecture astronauts, there wasn’t much choice other than Go when it came out.

There’s a very high probability that something like Cockroach would use C++ if Go had never existed, so Rob Pike was sort of right, if you squint. On the other hand, if Cockroach were started today it would probably be written in Rust.

Re:Good-bye core types; Hello Go as we know and love it by vessenes on Friday March 28, 2025 @07:51PM (#43511150)
I think you’re missing a couple key benefits to go: compile time and cross arch builds. The story here is best in class by far. It’s so so simple and fast to compile go for 10 architectures and distribute a binary.