|
|
|
|
|
by Skinney
4738 days ago
|
|
Why on earth would you use C++ for a massively concurrent app? While I understand using C/C++ for low-memory devices or where deterministic/manual memory handling is important. Concurrency/Paralellism is simply not C/C++, Java's, or any language which relies primarily on locks, cup of tea. If possible, try to make Go work. It's concurrency model is great for massive concurrency. |
|
So why C/C++? When it comes to language choice I have a very simple rule: use whatever I think I can be most successful with.
Go prescribes a particular concurrency model. C and C++ do not. I have many years of experience wielding C to write very small, very fast programs that do very big things. I have zero years of experience with Go. Go would be interesting if I was writing something more general purpose or something that needed lots of extensibility, or something on which I plan to collaborate with people who don't have a lot of concurrent programming experience. None of those cases apply.