Google’s Carbon can do what Rust can’t! Outperforming C++ in Programming

Google’s Carbon can do what Rust can’t! Outperforming C++ in Programming

The latest programming language of Google, named Carbon will bring back the glory days of C++

Google Principal Software Engineer Chandler Carruth introduced Carbon this week at the "CPP North" C++ conference in Toronto. The purpose of this new work-in-progress programming language is to convert the C++ codebases in a better way than Rust. According to experts, Rust doesn't have the same bi-directional interoperability as other tools, which introduces a type of language barrier when translating between different programming languages.

The long-term Relation between Google with Programming languages

Over the years, Google has created a few programming languages, some of which have become more popular and prominent than others. For example, Golang (or simply Go) was created to improve the development of servers and distributed systems and has since been adopted by the public. Meanwhile, the Dart programming language, originally intended as something of an alternative to JavaScript, didn't reach mainstream popularity until the release of Flutter.

Now, What makes Carbon Better than Others?

What makes Carbon better suitable than Rust is its introducer keywords and simple grammar. Carbon's unction input parameters are read-only values and the pointers provide indirect access & mutation. The writer can use expressions to name types and the package is the root namespace. The user can also import APIs through their package name. For Carbon, the explicit object parameter declares a method and it has a single inheritance. There are further benefits that extend beyond Carbon's language, including ethical motives like the accessibility and inclusivity of the project's culture.

The Connection with Google is not Exclusive

The Carbon family is largely made up of Google employees, but not exclusively so. Having piggybacked on the successes of the tech giant, the Carbon team says that it needs to be "an independent and community drive project" for it to be successful. Currently, the Carbon programming language is just an experiment. Its source code can be downloaded for you to try already, or you can choose to experiment with it from inside your browser with the Compiler Explorer web app.

Benefits for New Students

Soon many students will do programming in carbon language and it will become popular because it is made by Google Engineers. At present, the main objective of launching Carbon Language is to match the performance of older language C++.

More Trending Stories 

Related Stories

No stories found.
logo
Analytics Insight
www.analyticsinsight.net