C++ Still Rules the Chromium Roost Though Rust has Caught Our Eye

C++ Still Rules the Chromium Roost Though Rust has Caught Our Eye

C++ still rules the Chromium roost though Rust has caught our eye, say browser devs. The Chromium team makes clear that C++ is "the ruler" and that its current interest is having Rust code make calls into existing C++ rather than the other way around.

Chrome engineers experiment with memory-safe language in software that really ought to be memory safe

Google's Chromium Project has acknowledged its growing interest in adding more Rust code to the mostly C++ Chromium codebase.

Rust is an open-source systems-oriented programming language championed by Mozilla that's known for its memory safety, a characteristic of particular interest to developers interested in browser security.

The Chromium team makes clear that C++ is "the ruler" and that its current interest is having Rust code make calls into existing C++ rather than the other way around. But its recognition of Rust as a subordinate language suggests that Google devs want Rust to play a more prominent role in the Chromium court.

"Chrome engineers are experimenting with Rust," the techies declared in documentation this month about Rust and C++ interoperability. "For the foreseeable future, C++ is the reigning monarch in our codebase, and any use of Rust will need to fit in with C++ — not the other way around. This seems to present some C++/Rust interoperability challenges which nobody else has faced."

The page describes how Rust and C++ code should exchange data, which isn't so straightforward due to differences between the languages. The Chromium team's approach relies on a library published in January called cxx, created by Rust developer David Tolnay, which automatically creates bridges between C++ and Rust functions. You can do this by hand if you wish, though once you start juggling more than a few APIs – and Chromium has 1,700-plus – you should use a tool to avoid mistakes.

rust cplusplus web-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Why Web Development is Important for your Business

With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...

Important Reasons to Hire a Professional Web Development Company

    You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...

Web Design and Development Services

Get Best out from Web Design and Development Services from Vinew Technologies,We have a dedicated team of experienced and knowledgeable web developers, designers and testers. Therefore, we have proficiency in analyzing, developing and designing the necessity of intricate Website Development projects.

How long does it take to develop/build an app?

This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.

Custom Web Development Services | Vinew Technologies

Vinew Technologies is the leading Custom web development services company known for creating state of the art custom business websites that help you engage your audience better.