C++ and its libraries can do everything erlang does with concurrency, and faster. erlang remains niche mainly for that reason.
You can build anything with anything. Not always a good idea. There are a reason few web apps are built using C++ directly.
You can build anything with anything. Not always a good idea. There are a reason few web apps are built using C++ directly.