Connect with us

Tech

Google’s New Programming Language, Carbon, Could Replace C++

Avatar of Arsi Mughal

Published

on

Google's New Programming Language, Carbon, Could Replace C++

(CTN News) – Carbon is Google’s new programming language that it believes could replace C++.

In recent years, programming languages have been replaced with models that are even easier to use. With Swift, Apple has opened up several possibilities to those who are less experienced than with its predecessor, Objective-C.

Speaking at a recent event, Google Principal Software Engineer Chandler Carruth explained how Rust doesn’t have the same “bi-directional interoperability” as other tools, creating a type of ‘language barrier’ when ‘translating’ between programming languages.

Move from C++ to Carbon

Consequently, Carbon should be compatible with popular C++ code, but users looking to migrate to the new version should have little difficulty doing so.

Carruth explained why Carbon is a powerful successor to C++ in more detail, including a simpler grammar and smoother API imports.

Other benefits extend beyond Carbon’s language, including its accessibility and inclusivity.

The Carbon family is largely made up of Google employees, but not exclusively. To be successful, the Carbon team says it needs to be “an independent, community-driven project”.

Carbon is currently just an experiment. Alternatively, you can use the Compiler Explorer web app to experiment with it inside your browser using its source code.

Related CTN News:

Google’s new programming language, Carbon, could replace C++.
Tesla Shares Surge After A Better Than Expected Second Quarter Report
YouTube Says It Will Remove Videos With False Information About Abortion

Arsi Mughal is a staff writer at CTN News, delivering insightful and engaging content on a wide range of topics. With a knack for clear and concise writing, he crafts articles that resonate with readers. Arsi's pieces are well-researched, informative, and presented in a straightforward manner, making complex subjects accessible to a broad audience. His writing style strikes the perfect balance between professionalism and casual approachability, ensuring an enjoyable reading experience.

Continue Reading

CTN News App

CTN News App

Recent News

BUY FC 24 COINS

compras monedas fc 24

Volunteering at Soi Dog

Find a Job

Jooble jobs

Free ibomma Movies