6.5 C
New York
Tuesday, July 27, 2021

REACT NATIVE: Microsoft switches to C++ for Javascript apps from C#

With React Native, developers can create Javascript apps for Windows. However, Microsoft is now fundamentally overhauling its port and moving from C # to C ++ to better interact with the original Facebook.

Must Read

Aakash Molpariya
Aakash started in Nov 2018 as a writer at Revyuh.com. Since joining, as writer, he is mainly responsible for Software, Science, programming, system administration and the Technology ecosystem, but due to his versatility he is used for everything possible. He writes about topics ranging from AI to hardware to games, stands in front of and behind the camera, creates creative product images and much more. He is a trained IT systems engineer and has studied computer science. By the way, he is enthusiastic about his own small projects in game development, hardware-handicraft, digital art, gaming and music. Email: aakash (at) revyuh (dot) com

Microsoft has announced a new implementation of its React Native port for Windows 10. With the help of React Native, applications can be written in Javascript, which are then not displayed in a web view, but instead use native functions of the operating system. With the restart of the port, Microsoft would like to focus more than previously on the upstream code of Facebook and switches for the programming language of C# to C++.

Read More Stories: Guido blames social media for his decision to abandon the supervision of Python

The application interfaces written with React in Javascript are translated by the framework into native views. So far, Microsoft has used its own implementation in C# for this concept known as Bridge . In the future, C ++ will be used for this. The javascript runtime environment will continue to use Chakra, which will continue to be maintained independently, even though the Edge browser will be based on Chromium and the V8 engine in the future.

Read More Stories: Android Auto: That’s what the new design looks like

Microsoft explains the decision for C++ as follows: “React Native’s ongoing alignment involves a closer interaction between C ++ and Javascript, which is difficult to achieve with a separate C# implementation.” For the new implementation the Facebook C++ bridge will be reused by Microsoft.

Read More Stories: Cortana will be more natural and conversational thanks to changes in machine learning by Microsoft

“This allows React Native to innovate and deliver new features for Windows 10, using the same core as Facebook’s React Native,” the code says. However, the new version of React Native for Windows is still not completed, so the currently available code should probably still be considered as experimental.

Read More Stories: Armageddon 2027: Is there any salvation from asteroids?

- Advertisement -


Please enter your comment!
Please enter your name here

- Advertisement -

Latest News

A soap that can reduce infectivity ten-thousand-times

Many human pathogens may remain for extended periods of time on surfaces, offering many people the possibility of direct...
- Advertisement -

More Articles Like This

- Advertisement -