4 ms·
Go keeps it core feature set very minimal by design. The end result is a language that is almost as fast as C++ and almost as productive to write as Python. If
by tschellenbach 4y ago
Go keeps it core feature set very minimal by design. The end result is a language that is almost as fast as C++ and almost as productive to write as Python. If you care about performance, but want to work with a small engineering team it doesn't get better.
Sure you could use Rust to be a tiny bit faster in some use cases. But it's also less productive to work with for your team. You could use Python, it's a bit more productive but performance is 40x slower.
The value of Go is the balance it strikes.
That being said, yes a good enum type in the language, ideally like Kotlin's approach would be ideal.
- olah_1 4y ago> If you care about performance, but want to work with a small engineering team it doesn't get better. What about Zig? I guess people don’t like the lack of libraries there?
- deleted 4y ago[deleted]
- pclmulqdq 4y ago"Almost as fast as C++" claims about go tend to come from people who don't write a lot of C++. The perf gap is big, even though it's not as big as the perf gap with Javascript. That said, I don't think anything but Rust does any better than Go on getting the balance right.