Most Viewed Content:

OpenAI Launched Assistants API, Allowing Developers to Customize AI Assistants with One Click

At today's OpenAI's first developer conference, OpenAI launched the...

India’s censorship body gave power to remove pirated Movies from platforms

India’s Ministry of Information and Broadcasting announced that its...

Microsoft working on new features for Win11 / Win12: smart notifications, depth-of-field effects

According to the source Albacore (@thebookisclosed), Microsoft is preparing...

Aiming to replace C++, Google announces open source programming language Carbon

Google engineer Chandler Carruth recently announced at the CppNorth conference that the Carbon programming language, which will be an experimental successor to C++, has been open sourced on GitHub.

Google has previously created a variety of programming languages, including Golang, Dart, and others, and the new language, Carbon, aims to replace C++.

Chandler Carruth compared it to Rust, saying that Rust is not “bi-directionally interoperable” with C++, making it difficult to migrate consistently. Carbon, however, is intended to be fully interoperable with existing C++ code, and the goal is to make migration from C++ to Carbon as easy as possible.

Also according to Carbon’s GitHub repository page, Carbon is fundamentally a successor language approach rather than an attempt to evolve C++. It is designed around interoperability with C++ and mass adoption and migration of existing C++ codebases and developers, and includes the following features.

Introducer keyword and simple syntax

Read-only function input parameters

Pointer to provide indirect access and variants

Use of expressions to name types

Package as root namespace

Importing APIs by package name

Method declaration with explicit object arguments

Single inheritance, default use of final class

Powerful and definition-checked generics

Types can explicitly implement interfaces

Google likens Carbon to TypeScript, Kotlin, the latter two being enhancements to JavaScript and Java.

In addition to the features of the language itself, the Carbon team is focused on the development process that will shape the future of Carbon. The project’s code is publicly hosted on GitHub and open to PR.

Latest

2024 Beijing Auto Show: All-new Toyota Crown unveiled at the booth

At the Beijing Auto Show, which opened on April...

Teclast P50 Tablet released: Pre-installed with Android 14, Unisoc T606 processor

Teclast today officially announced the launch of its P50...

Nissan’s global sales in March were 365,845 units, YOY increase of 3.3%

Nissan announced the latest production and sales data: global...

Skyworth EV6 II super-charging car 2024 model launched: Starting from 139,800 RMB

The 2024 Skyworth EV6 II car was officially launched...

Newsletter

Don't miss

2024 Beijing Auto Show: All-new Toyota Crown unveiled at the booth

At the Beijing Auto Show, which opened on April...

Teclast P50 Tablet released: Pre-installed with Android 14, Unisoc T606 processor

Teclast today officially announced the launch of its P50...

Nissan’s global sales in March were 365,845 units, YOY increase of 3.3%

Nissan announced the latest production and sales data: global...

Skyworth EV6 II super-charging car 2024 model launched: Starting from 139,800 RMB

The 2024 Skyworth EV6 II car was officially launched...

Kia Sonet SUV launched with optional L2 smart driving assistance

Kia's entry-level SUV Sonet Motors was officially launched at...
Sana
Sanahttps://www.techgoing.com
TechGoing is a global tech media to brings you the latest technology stories, including smartphones, electric vehicles, smart home devices, gaming, wearable gadgets, and all tech trending.

Tesla still plans to build 1800 miles of U.S. charging corridors for Semi Truck project

Despite encountering new challenges, Tesla still plans to build 1,800 miles of semi-trailer Semi project between Texas and California in the United States (Note:...

Polestar Synergy to debut in China on April 23

Recently, we learned from Polestar officials that the Polestar Synergy pure electric concept sports car will make its debut in China on April 23....

Audi SQ6 e-tron debuts at the 2024 Beijing Auto Show

At the 2024 Beijing Auto Show, the Audi SQ6 e-tron model made its domestic debut. The car plans to enter the Chinese market as...