golang 100% ? Is it just a matter of preference between these two or golang excels c++ in some areas which is .. ?
I like c++ but there's a lot of advantages for writing in go. It compiles much faster, you don't need to manage memory. The tooling is much more modern and easy. It has built in formatter, testing, benchmark, profiling, package manager and more. Also it has powerful std packages Disadvantages: less friendly for writing cross platform and no stable abi
Go has official network package
I think the strengths of each are almost opposite eachother
C++ has tons of complex type system and tons of language features Go has a very simple type system and few language features C++ stdlib is not so focused on OS integration, networking, fs, and instead wants you to use the OS interfaces directly Go stdlib is heavily integrated with OS API's and integrating with C interfaces is painful
Interesting point of view Then I guess it depends on the project
Обсуждают сегодня