3 ms·
You have all that in C++ too. Exceptions are near zero cost and used everywhere, sometimes even in embedded stuff too.
by ArtixFox 2y ago
You have all that in C++ too.
Exceptions are near zero cost and used everywhere, sometimes even in embedded stuff too.
- YZF 2y agoSure. I speak C++ ;) You can do this in C++ but I think it's generally more crash prone than Go. Based on personal experience of ~20 years of C++ and ~10 of Go I've debugged many a core dump in C++ and I think zero in Go. You can restrict yourself to the somewhat safer parts of C++ for sure.