C++
C++

3.5K
2.2K
601
Rust
Rust

710
762
581
Add tool

C++ vs Rust: What are the differences?

Developers describe C++ as "Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation". C++ compiles directly to a machine's native code, allowing it to be one of the fastest languages in the world, if optimized. On the other hand, Rust is detailed as "A safe, concurrent, practical language". Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

C++ and Rust can be categorized as "Languages" tools.

"Performance" is the top reason why over 146 developers like C++, while over 81 developers mention "Guaranteed memory safety" as the leading cause for choosing Rust.

Rust is an open source tool with 37.3K GitHub stars and 5.85K GitHub forks. Here's a link to Rust's open source repository on GitHub.

Lyft, OkCupid, and Twitch are some of the popular companies that use C++, whereas Rust is used by Dropbox, Sentry, and Roundscope Ukraine Labs. C++ has a broader approval, being mentioned in 199 company stacks & 371 developers stacks; compared to Rust, which is listed in 39 company stacks and 105 developer stacks.

- No public GitHub repository available -

What is C++?

C++ compiles directly to a machine's native code, allowing it to be one of the fastest languages in the world, if optimized.

What is Rust?

Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose C++?
Why do developers choose Rust?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using C++?
What are the cons of using Rust?

Sign up to add, upvote and see more consMake informed product decisions

What companies use C++?
What companies use Rust?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with C++?
What tools integrate with Rust?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to C++ and Rust?
C
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
See all alternatives
Decisions about C++ and Rust
No stack decisions found
Interest over time
Reviews of C++ and Rust
No reviews found
How developers use C++ and Rust
Avatar of Marc3842h
Marc3842h uses C++C++

C++ is used in Shiro (https://github.com/Marc3842h/shiro).

C++ is a high performance, low level programming language. Game servers need to run with fast performance to be able to reliably serve players across the globe.

Avatar of Marc3842h
Marc3842h uses RustRust

Rust is used in Shirogane (https://github.com/Marc3842h/shirogane).

Shirogane is a osu! beatmap mirror built for shiro. We use Rust because of memory safe but still low level and high performance.

Avatar of OnlineCity
OnlineCity uses C++C++

The most latency sensitive parts are written in C++. Due to our interconnected services architecture, we use either Python or C++ for each service, with the performance critical parts being C++14.

Avatar of POROWNEO.PL
POROWNEO.PL uses C++C++

Used to write PHP extensions - AZTEC Decoder - License Driver scan - Axis2/C to PHP wrapper and Job-scheduler - Barbershop

Avatar of Luca Fulchir
Luca Fulchir uses C++C++

Performance, zero-overhead abstractions and memory safety of the modern C++ language make this the perfect language for the project.

Avatar of ApertusVR
ApertusVR uses C++C++

The main programming language of ApertusVR. C++11 & CMake provides multi-platform targeting. The architecture is modular.

How much does C++ cost?
How much does Rust cost?
Pricing unavailable
Pricing unavailable
News about C++
More news