Tagged articles
4 articles
Page 1 of 1
21CTO
21CTO
Jul 20, 2022 · Fundamentals

What Is Google’s New Carbon Language and Why It Could Replace C++?

Google’s newly unveiled Carbon language, positioned as an experimental successor to C++, promises modern language features, seamless C++ interoperability, and a path for developers to write performance‑critical software while avoiding many of Rust’s ownership complexities.

C interoperabilityCarbonGoogle
0 likes · 5 min read
What Is Google’s New Carbon Language and Why It Could Replace C++?
Tencent Cloud Developer
Tencent Cloud Developer
Feb 10, 2022 · Backend Development

Understanding CGO: Usage, Mechanisms, and Best Practices in Go

CGO lets Go programs call C functions and vice versa by importing "C", generating intermediate files, handling type conversion, managing runtime transitions, and requiring careful memory and pointer handling, with best‑practice guidelines to avoid leaks, scheduler issues, and thread explosion.

C interoperabilityGocgo tool
0 likes · 33 min read
Understanding CGO: Usage, Mechanisms, and Best Practices in Go