Live data from Hacker News

React Native on the Universal Windows Platform

blogs.windows.com

41–50 of 54 posts

Re: React Native on the Universal Windows Platform

#41

Earlier quoted context omitted.

Why does this generate C# instead of C++?

Our belief is that using C# enables many more developers to contribute to the project and build plugins versus using C++0x. That said, this is not a final decision. We are open to making a change here if community overall has a reasoned opinion backed by data for using C++ instead.

I do wonder if having two garbage-collected runtimes in the same address space will lead to pathological performance and/or memory usage. But I don't have any solid data on that. Of course, if that is a problem, then it also applies to React Native on Android, but there, it's unavoidable.

Re: React Native on the Universal Windows Platform

#42

Cordova, Xamarin and React Native...oh my! Which one are you all going to choose?

Well, Corvoda and Xamarin are only for mobile apps. If React Native begins officially supporting desktop platforms, it'll be the only (popular) framework of its kind.

Re: React Native on the Universal Windows Platform

#43

Earlier quoted context omitted.

It works on anything since it's just for platform support and unrelated to tooling. But on the tooling side, they also have a companion extension for (the free, multi-platform) Visual Studio Code. From the article: > In addition to this work on the core framework support, Microsoft is also providing open source tools and services to help developers create React Native apps. The React Native extension for Visual Studi…

So, I can build the repo with community? Because I found this statement "Assuming you have Visual Studio 2015 Enterprise installed" at https://github.com/ReactWindows/react-native/tree/ReactWindo...

Fixed: https://github.com/ReactWindows/react-native/issues/345

Re: React Native on the Universal Windows Platform

#44

This is a huge game changer. We have OS X support with React Native Desktop [0], so that means only Linux support is missing! I've wondered why we haven't seen a React Native Qt, React Native Gtk+, or React Native Elementary yet. But I guess those communities just aren't very interested in what JS people are up to. [0] https://github.com/ptmt/react-native-desktop

We're working a React Native port for Ubuntu (via Qt/QML). It's still early days, but many things are working.

Source is here; https://code.launchpad.net/reactnative-ubuntu

Re: React Native on the Universal Windows Platform

#45

Earlier quoted context omitted.

Our belief is that using C# enables many more developers to contribute to the project and build plugins versus using C++0x. That said, this is not a final decision. We are open to making a change here if community overall has a reasoned opinion backed by data for using C++ instead.

As C++ is the native language for the UWP, surely it would map more neatly to the platform? And the well-known performance and memory advantages, however small, are critical for mobile devices. I don't think Microsoft should commit long-term to C# on mobile just as both Apple and supposedly Google are migrating to Swift as the future of their platforms, for good reason. My two cents.

> And the well-known performance and memory advantages, however small, are critical for mobile devices.

Windows Phone is many things, and few of those things are good. But in terms of UI responsiveness and overall speed, it puts my android to shame and competes with my iPhone.

And the security story of unmanaged languages is perilously bad. I don't see how people justify it anymore.

Re: React Native on the Universal Windows Platform

#46

Cordova, Xamarin and React Native...oh my! Which one are you all going to choose?

Well, Corvoda and Xamarin are only for mobile apps. If React Native begins officially supporting desktop platforms, it'll be the only (popular) framework of its kind.

Haxe + for example OpenFL has even more targets, but not as popular.

Re: React Native on the Universal Windows Platform

#47

I am on the team at Microsoft that helped bring UWP to React Native. If there are questions, feel free to AMA. PS. Many thanks to the Facebook team for building a great platform in React Native and their critical help in helping us bring Windows to the platform.

This might be far fetched but is there any chance there are plans to enable OSX devs to work with Windows Phone apps? I love my phone, but I can't use anything else than OSX.

Re: React Native on the Universal Windows Platform

#48
I have to expect that a framework like this will not work exactly as well as 'True Native' (to coin a phrase), and and as there are now a number of platforms it needs to work across that all functionality exposed by React Native will not work equally well across all platforms.

Is there a resource that compares React Native's functionalities across the platforms ( performance characteristics, behaviors, appearance, and so forth?)

Re: React Native on the Universal Windows Platform

#49
post #19

Earlier quoted context omitted.

Agreed. I would actually be curious to read some counterarguments. Alas, noone has offered any

I think the community has a prevailing opionion that C# is part of a UWP lock-in and they're concerned about that. I'm sure at least some people think C++ is helpful as a hedge against this.

Surely writing to the Windows Platform API is where the lock-in is, not the choice of language?

Re: React Native on the Universal Windows Platform

#50

Cordova, Xamarin and React Native...oh my! Which one are you all going to choose?

Well, Corvoda and Xamarin are only for mobile apps. If React Native begins officially supporting desktop platforms, it'll be the only (popular) framework of its kind.

Xamarin does OSX apps as well, Not sure about Linux
Post reply on HN