DEV Community

Discussion on: Will Golang replace C/C++?

Collapse
 
logicwonder profile image
Arun K V

Yes Go can certainly replace C/C++ in many core areas. Golang succeeded initially in the cloud native development and the focus is now moving towards system programming area. To begin, Golang enables embedding of C libraries and is capable of running natively in embedded devices. With builtin buffer overflow protection, automatic memory management, cross compilation to different architectures, Golang produces highly optimal binaries with minimal size. The support for architectures is growing everyday. See gist.github.com/asukakenji/f15ba7e...
With a shallow learning curve, the future generations of programmers would be attracted towards golang. And the cheap availability of standard microprocessor platforms would reduce a lot of development from scratch. However C/C++ would continue for reasons why the Cobol and mainframes continue to exist. Golang has the potential to be the no 1 language if you target efficiency and optimization at any level.