NativeScript with Universal Windows Platform Support
1–10 of 14 posts
Re: NativeScript with Universal Windows Platform Support
#2Full disclosure: I work at Microsoft on XAML UI in C++. It's nice. Opinions are my own.
Re: NativeScript with Universal Windows Platform Support
#3Do yourself a favor and use C# or even C++\Cx instead. They're both a much better fit for XAML. Full disclosure: I work at Microsoft on XAML UI in C++. It's nice. Opinions are my own.
Re: NativeScript with Universal Windows Platform Support
#4Do yourself a favor and use C# or even C++\Cx instead. They're both a much better fit for XAML. Full disclosure: I work at Microsoft on XAML UI in C++. It's nice. Opinions are my own.
But what if I also need to target iOS and Android? Isn't that the problem NativeScript is trying to solve?
However, I've never had to work on cross-platform apps, and have never been subjected to JavaScript professionally, so my opinion is probably worthless.
Re: NativeScript with Universal Windows Platform Support
#5Earlier quoted context omitted.
But what if I also need to target iOS and Android? Isn't that the problem NativeScript is trying to solve?
I'd still choose to use C++ or C# for cross-platform code if starting from scratch. However, I've never had to work on cross-platform apps, and have never been subjected to JavaScript professionally, so my opinion is probably worthless.
Re: NativeScript with Universal Windows Platform Support
#6Earlier quoted context omitted.
But what if I also need to target iOS and Android? Isn't that the problem NativeScript is trying to solve?
I'd still choose to use C++ or C# for cross-platform code if starting from scratch. However, I've never had to work on cross-platform apps, and have never been subjected to JavaScript professionally, so my opinion is probably worthless.
Re: NativeScript with Universal Windows Platform Support
#7Earlier quoted context omitted.
I'd still choose to use C++ or C# for cross-platform code if starting from scratch. However, I've never had to work on cross-platform apps, and have never been subjected to JavaScript professionally, so my opinion is probably worthless.
So why did you say C# and C+= are a much better fit for XAML? Because they're the languages that Microsoft officially supports? Any other reasons?
Technically, XAML makes heavy use of C#'s events and properties (which C++\Cx adds to C++), which don't exist in plain old JavaScript. Also, both C# and C++\Cx support "await" natively, which is extremely nice for WinRT's async-heavy API's.
Re: NativeScript with Universal Windows Platform Support
#8Earlier quoted context omitted.
I'd still choose to use C++ or C# for cross-platform code if starting from scratch. However, I've never had to work on cross-platform apps, and have never been subjected to JavaScript professionally, so my opinion is probably worthless.
Xamarin would probably be the framework/tool of choice if you want C#. Other than that, most (popular) cross-platform app development frameworks I've found do use JavaScript. "Disclaimer": I'm in the middle of writing a thesis on the subject.
https://news.ycombinator.com/item?id=8965349
This toolchain doesn't cover UWP, except indirectly via UWP's support for web apps.