DrPizza":viydwdy5 said:
Metasyntactic":viydwdy5 said:
DrPizza":viydwdy5 said:
Considering that C# has full access to everything in WinRT, it's hard to say where this is comign from
C++ can do everything, C# can't.
C# will never be able to do everything. Neither will javascript. Neither of them care to do everything.
Given the vast majority of uptake has been in C#
The vast majority of Windows development over the last approximately 1 decade was also C#, but WinDiv has never, not once, made a concession to it. Expecting this to change in the future strikes me as extremely naive.
Except that it's *already* happened. So you're simply saying "i choose to ignore reality to fit my worldview". What happened in the past happened. But we're not talking about the past. We're talking about WinRT and the fact that Windows has, already, numerous times, made concessions for C#/VB/managed/.Net.
No it hasn't. We've got significant and important APIs that can't be accessed from managed code.
"but WinDiv has never, not once, made a concession to it"
Now you're shifting goalposts (and doing so badly). It used to be that WinDiv didn't make any concessions. Now they made concessions, but they didn't make 100% of the system available to WinRT, so that means they're slighting it.
Well you know... Apple didn't make all capabilities available to iOS developers at first. Guess they weren't making concessions either. Including for features that hte underlying system supported (and Apple used in their own apps). But you knwo what? From version to version they steadily expanded (to the point now where there's almost nothing you can't do).
MS isn't getting everything in V1. APIs were prioritized by benefit to the experience as well as needs of developers. Missing areas have absolutely been identified, and as time goes on those will be filled (with full access to WinRT consumers).
Not having everything is not the same as making no concessions. And you know it. It was a pisspoor attempt at goal shifting once you learned that reality didn't match the narrative you wanted to portray.
Had htis not happened, i could see your skepticism. However, it has no basis in reality because it only holds if their behavior is ignored. Here are some nice changes that came about that directly benefit .Net. For example, using ECMA 335 metadata for WinRT winmd files. This was done for .Net as well as recognizing there was no need to reinvent something if there was a perfectly good solution out there. Also, providing support for generic types consumable by .Net. These were things that were not there originally, but were viewed to be highly beneficial to .Net or very important to .Net developers.
So changing from IDL to .NET metadata is, in your mind, a significant concession to .NET
Your claim, peter, was: "but WinDiv has never, not once, made a concession to it"
I was showing htey had. Your claim was false.
Using .NET metadata is valuable to C++ devs too, due to IDL's lack of expressivity, so it's not as if this was some piece of WinDiv altruism.
Wait... so a concession isn't a concession unless it *solely* benefits C#. If the C#, C++ and JS teams get together and hammer out a strategy that benefits all, then that's your justification that WinDiv doesn't make concessions to C# because they're working on improvements that everyone appreciates? Really?
And this is only two of dozens and dozens (possibly hundreds) of changes made to WinRT since inception to ensure a good experience for .Net developers.
s'funny, because from what I can see, all the work to make using WinRT more pleasant has been done on the .NET side, not the WinRT side. It's the .NET side that has to generate proxy classes, the .NET side that has to map between interfaces, and all that stuff, not the native side.
Again, you're wrong. For example, to make the native side pleasant to use you need to use C++/CX. A lot of work was done there to make things pleasant. You can use straight up C++, but it's a serious PITA and is not recommended for *anyone*.
C++ did work to make WinRT pleasant to use. Managed did work to make WinRT pleasant to use. Script did work to make WinRT pleasant to work. *They all did work*.