C++ vs React Native

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

C++
C++

3.8K
2.5K
+ 1
620
React Native
React Native

6.2K
5.1K
+ 1
900
Add tool

C++ vs React Native: 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, React Native is detailed as "A framework for building native apps with React". React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.

C++ can be classified as a tool in the "Languages" category, while React Native is grouped under "Cross-Platform Mobile Development".

"Performance", "Control over memory allocation" and "Cross-platform" are the key factors why developers consider C++; whereas "Learn once write everywhere", "Cross platform" and "Javascript" are the primary reasons why React Native is favored.

React Native is an open source tool with 78.8K GitHub stars and 17.6K GitHub forks. Here's a link to React Native's open source repository on GitHub.

According to the StackShare community, React Native has a broader approval, being mentioned in 719 company stacks & 809 developers stacks; compared to C++, which is listed in 199 company stacks and 371 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 React Native?

React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose C++?
Why do developers choose React Native?

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

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

What companies use C++?
What companies use React Native?

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

What tools integrate with C++?
What tools integrate with React Native?

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

What are some alternatives to C++ and React Native?
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 React Native
Sezgi Uluçam
Sezgi Uluçam
Sr. Software Engineer at StackShare · | 6 upvotes · 59.6K views
Flutter
Flutter
React Native
React Native
PhoneGap
PhoneGap
Apache Cordova
Apache Cordova
#JavaScript
#MobileFrameworks
#NativeApps

For a front end dev like me, using a mobile framework for side projects makes more sense than writing a native app. I had used Apache Cordova (formerly PhoneGap) before (because React Native didn't exist yet), and was happy with it. But once React Native came out, it made more sense to go that way instead. It's more efficient and smooth, since it doesn't have the simulation overhead, and has more access to hardware features. It feels cleaner since you don't need to deal with #WebView, using native UI widgets directly. I also considered Flutter . It looks promising, but is relatively new to the game, and React Native seems more stable for now.

MobileFrameworks #JavaScript NativeApps

See more
Dima Korolev
Dima Korolev
Principal Maintainer at Current · | 3 upvotes · 14.5K views
atFriendlyDataFriendlyData
C++
C++
Ruby
Ruby
#BNF
#NLP
#Grammar

Ruby NLP C++ Grammar #BNF

At FriendlyData we had a Ruby-based pipeline for natural language processing. Our technology is centered around grammar-based natural language parsing, as well as various product features, and, as the core stack of the company historically is Ruby, the initial version of the pipeline was implemented in Ruby as well.

As we were entering the exponential growth phase, both technology- and product-wise, we looked into how could we speed up and extend the performance and flexibility of our [meta-]BNF-based parsing engine. Gradually, we built the pieces of the engine in C++.

Ultimately, the natural language parsing stack spans three universes and three software engineering paradigms: the declarative one, the functional one, and the imperative one. The imperative one was and remains implemented in Ruby, the functional one is implemented in a functional language (this part is under the NDA, while everything I am talking about here is part of the public talks we gave throughout 2017 and 2018), and the declarative part, which can loosely be thought of as being BNF-based, is now served by the C++ engine.

The C++ engine for the BNF part removed the immediate blockers, gave us 500x+ performance speedup, and enabled us to launch new product features, most notably query completions, suggestions, and spelling corrections.

See more
Sezgi Uluçam
Sezgi Uluçam
Sr. Software Engineer at StackShare · | 7 upvotes · 76K views
Android SDK
Android SDK
Android Studio
Android Studio
React Native
React Native
Xcode
Xcode
Expo
Expo

I've recently switched to using Expo for initializing and developing my React Native apps. Compared to React Native CLI, it's so much easier to get set up and going. Setting up and maintaining Android Studio, Android SDK, and virtual devices used to be such a headache. Thanks to Expo, I can now test my apps directly on my Android phone, just by installing the Expo app. I still use Xcode Simulator for iOS testing, since I don't have an iPhone, but that's easy anyway. The big win for me with Expo is ease of Android testing.

The Expo SDK also provides convenient features like Facebook login, MapView, push notifications, and many others. https://docs.expo.io/versions/v31.0.0/sdk/

See more
Conor Myhrvold
Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 16 upvotes · 733K views
atUber TechnologiesUber Technologies
Apache Spark
Apache Spark
C#
C#
OpenShift
OpenShift
JavaScript
JavaScript
Kubernetes
Kubernetes
C++
C++
Go
Go
Node.js
Node.js
Java
Java
Python
Python
Jaeger
Jaeger

How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

https://eng.uber.com/distributed-tracing/

(GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

See more
Apache Cordova
Apache Cordova
redux-saga
redux-saga
React Native
React Native
AngularJS
AngularJS
Redux
Redux
React
React
#JavascriptMvcFrameworks

We had contemplated a long time which #JavascriptMvcFrameworks to use, React and React Native vs AngularJS and Apache Cordova in both web and mobile. Eventually we chose react over angular since it was quicker to learn, less code for simple apps and quicker integration of third party javascript modules. for the full MVC we added Redux.js for state management and redux-saga for async calls and logic. since we also have mobile app along with the web, we can shere logic and model between web and mobile.

See more
Martin Lonkwitz
Martin Lonkwitz
Software engineering at SVA · | 3 upvotes · 14.6K views
Java
Java
C++
C++

Maybe not in everybody focus but I do like programming for @z/OS, @z/Linux and @z/VM with C++ , Java and Assembler . Who else love to dig into control blocks and get a deep dive into system resources to run things in a high valuable way ? And also go all the way up to the application to enlight all the infrastructure features to it ?

See more
Rust
Rust
C++
C++

Initially, I wrote my text adventure game in C++, but I later rewrote my project in Rust. It was an incredibly easier process to use Rust to create a faster, more robust, and bug-free project.

One difficulty with the C++ language is the lack of safety, helpful error messages, and useful abstractions when compared to languages like Rust. Rust would display a helpful error message at compile time, while C++ would often display "Segmentation fault (core dumped)" or wall of STL errors in the middle. While I would frequently push buggy code to my C++ repository, Rust enabled me to only even submit fully functional code.

Along with the actual language, Rust also included useful tools such as rustup and cargo to aid in building projects, IDE tooling, managing dependencies, and cross-compiling. This was a refreshing alternative to the difficult CMake and tools of the same nature.

See more
Vishal Narkhede
Vishal Narkhede
Javascript Developer at getStream.io · | 19 upvotes · 89.6K views
atStreamStream
Babel
Babel
styled-components
styled-components
Expo
Expo
JavaScript
JavaScript
Chat by Stream
Chat by Stream
React Native
React Native
Stream
Stream

Recently, the team at Stream published a React Native SDK for our new Chat by Stream product. React Native brings the power of JavaScript to the world of mobile development, making it easy to develop apps for multiple platforms. We decided to publish two different endpoints for the SDK – Expo and React Native (non-expo), to avoid the hurdle and setup of using the Expo library in React Native only projects on the consumer side.

The capability of style customization is one a large deal breaker for frontend SDKs. To solve this, we decided to use styled-components in our SDK, which makes it easy to add support for themes on top of our existing components. This practice reduces the maintenance effort for stylings of custom components and keeps the overall codebase clean.

For module bundling, we decided to go with Rollup.js instead of Webpack due to its simplicity and performance in the area of library/module providers. We are using Babel for transpiling code, enabling our team to use JavaScript's next-generation features. Additionally, we are using the React Styleguidist component documentation, which makes documenting the React Native code a breeze.

See more
Gustavo Muñoz
Gustavo Muñoz
Web UI Developer at Globant · | 6 upvotes · 26.7K views
JavaScript
JavaScript
Visual Studio Code
Visual Studio Code
Android Studio
Android Studio
Dart
Dart
React Native
React Native
React
React
Flutter
Flutter
#Flare

In my modest opinion, Flutter is the future of mobile development. The framework is as important to mobile as React is to the web. And seeing that React Native does not finish taking off, I am focusing all my efforts on learning Flutter and Dart. The ecosystem is amazing. The community is crazy about Flutter. There are enough resources to learn and enjoy the framework, and the tools developed to work with it are amazing. Android Studio or Visual Studio Code has incredible plugins and Dart is a pretty straight forward and easy-to-learn language, even more, if you came from JavaScript. I admit it. I'm in love with Flutter. When you are not a designer, having a framework focused on design an pretty things is a must. And counting with tools like #flare for animations makes everything easier. It is so amazing that I wish I had a big mobile project right now at work just to use Flutter.

See more
Dan Larsen
Dan Larsen
CTO at FlowStack · | 7 upvotes · 30.2K views
atFlowStack ApSFlowStack ApS
C++
C++
C
C
Rust
Rust
Go
Go

At FlowStack we write most of our backend in Go. Go is a well thought out language, with all the right compromises for speedy development of speedy and robust software. It's tooling is part of what makes Go such a great language. Testing and benchmarking is built into the language, in a way that makes it easy to ensure correctness and high performance. In most cases you can get more performance out of Rust and C or C++, but getting everything right is more cumbersome.

See more
Vaibhav Taunk
Vaibhav Taunk
Team Lead at Technovert · | 24 upvotes · 67.9K views
Visual Studio Code
Visual Studio Code
Markdown
Markdown
Postman
Postman
React Native
React Native
Flutter
Flutter
MongoDB
MongoDB
React
React
Angular CLI
Angular CLI
.NET Core
.NET Core

I am starting to become a full-stack developer, by choosing and learning .NET Core for API Development, Angular CLI / React for UI Development, MongoDB for database, as it a NoSQL DB and Flutter / React Native for Mobile App Development. Using Postman, Markdown and Visual Studio Code for development.

See more
Interest over time
Reviews of C++ and React Native
Avatar of tonyxiao
Economics
Review ofReact NativeReact Native

Native iOS developer here. One of the most important thing React Native managed to accomplish is that it created a better single-platform development experience than the platform owner themselves did. It's faster and easier to develop a react native app than it is to develop an iOS app. And remember that react native is at the end of the day still native. So native views, native components, native modules. You get to pick and choose how much you want to be in JavaScript and how much you want to be in native.

How developers use C++ and React Native
Avatar of Kurzor, s.r.o.
Kurzor, s.r.o. uses React NativeReact Native

React Native is great in that it reduces the overhead of writing native code based on a web app. If written in a good style, Redux part of the app can often just be copied or shared in the Native app - and it just works! What a timesaver.

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 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 Ryan VanBelkum
Ryan VanBelkum uses React NativeReact Native

The framework used to write the mobile apps in this project. I've chosen this because of the "write once run all" (ios and android) mentality.

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.

Avatar of AmericanBibleSociety
AmericanBibleSociety uses React NativeReact Native

We are not currently using this product but we have very high interest in learning and using this for mobile apps.

Avatar of JINJA Ltd.
JINJA Ltd. uses React NativeReact Native

New features of our app are developed on React Native, so we could maintain a small dev team.

Avatar of Tana
Tana uses React NativeReact Native

100% of our mobile codebase is shared between iOS and Android. Using along with TypeScript.

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