GopherCon 2018: 5 Mistakes C/C++ Devs Make While Writing Go - Nyah Check

preview_player
Показать описание
In his tutorial session, Nyah will explore the common pitfalls most C/C++ devs might make while exploring Go. Looking at his own experience learning Go, Nyah will discuss some of the fundamental differences in the thought process in C/C++ and Go, giving his unique “newbie” perspective on taking advantage of the Go way of writing better code. Overall, this presentation will give some of the best practices C programmers should look at while learning Go and cease from bringing C-style concepts to Go, especially obfuscated pointer math.
Рекомендации по теме
Комментарии
Автор

Good presentation buddy. I come from c++ background and I had nightmare thinking to manage my memory with go and assumed that GB always clears garbage and there wont be any leak. This is a good introduction on how differently we need to think with go.

DineshGowda
Автор

Really helpful talk for me as a golang newbie! Thanks a lot! Just want to mention that both C and C++ got threading support in C11/C++11.

krumbergify
Автор

Thank you for that. It is good to know how Go is different than C++.

kamilziemian
Автор

C++11 introduced threads, so technically you're not required to use 3rd party libraries

zerkms