|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?FreeOZ用户注册
x
I saw an interesting post in Stack overflow. I don't totally agree with, but it does make things clear a little bit. I prefer to .Net, but native language always strong and fancy.
http://stackoverflow.com/questions/7457371/why-is-winrt-unmanaged
The new Windows API is unmanaged because the leaders in the Windows teams (and Office team, whose former leader –Sinofsky- is now the president of the Windows and Windows Live Division) had no part in the design and distribution of .NET, never promoted it in any way, and its popularity is actually a threat to their personal careers (imagine: if .NET became an even bigger success, that could likely put its designers and contributors -like Scott Guthrie- ahead of people like Steven Sinofsky who focused on other areas).
They brought in Javascript to the picture, so now they can say:
Need the highest performance? Choose C++.
Need the easiest learnability (for the language, not for the APIs)/the easiest (UI) portability? Choose Javascript.
Need the cheapest maintainability, extensibility, reusability, highest safety, etc.? Senseless! Why would any software development want to focus on any of those areas?
Might sound like a joke, but it’s actually serious. Most of the Windows and Office teams are never going to use .NET related technologies, just like they never have before. For most of them, it’s a competitor technology. They will support .NET to pretty much the bare minimum they HAVE to (and if Sinofsky gets to an even higher level where he can happily ignore devdiv’s whine / (re)move its people as he pleases, that’ll get very close to zero). |
|