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.
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.
https://news.ycombinator.com/item?id=8965349
This toolchain doesn't cover UWP, except indirectly via UWP's support for web apps.
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.