When Microsoft gave the first public demonstration of Windows 8
a week ago, the reaction from most circles was positive. The new
Windows 8 user interface looks clean, attractive, and thoughtful, and in
a first for a Microsoft desktop operating system, it's finger friendly.
But one aspect of the demonstration has the legions of Windows
developers deeply concerned, and with good reason: they were told that
all their experience, all their knowledge, and every program they have
written in the past would be useless on Windows 8.
Key to the new Windows 8 look and feel, and instrumental to
Microsoft's bid to make Windows a viable tablet operating system, are
new-style full-screen "immersive" applications. Windows 8 will include
new APIs
for developing these applications, and here is where the problem lies.
Having new APIs isn't itself a concern—there's simply never been
anything like this on Windows before, so obviously the existing Windows
APIs won't do the job—but what has many troubled is the way that
Microsoft has said these APIs will be used. Three minutes and forty five
seconds into this video
,
Microsoft Vice President Julie Larson-Green, in charge of the Windows
Experience, briefly describes a new immersive application—a weather
application—and says, specifically, that the application uses "our new
developer platform, which is, uhh, it's based on HTML5 and JavaScript."
Cue much wailing
and gnashing
of teeth
.
Windows developers have invested a lot of time, effort, and money
into the platform. Over the years, they've learned Win32, COM, MFC, ATL,
Visual Basic 6, .NET, WinForms, Silverlight, WPF. All of these
technologies were, at one time or another, instrumental in creating
desktop applications on Windows. With the exception of Visual Basic 6,
all of them are still more or less supported on Windows today, and none
of them can do it all; all except Visual Basic 6 and WinForms have a
role to play in modern Windows development.
Hearing that Windows 8 would use HTML5 and JavaScript for its new
immersive applications was, therefore, more than a little disturbing to
Windows developers. Such a switch means discarding two decades of
knowledge and expertise of Windows development—and countless hours spent
learning Microsoft's latest-and-greatest technology—and perhaps just as
importantly, it means discarding rich, capable frameworks and the
powerful, enormously popular Visual Studio development environment, in
favor of a far more primitive, rudimentary system with substantially
inferior tools.
A justified reaction
The idea of Microsoft discarding all of that expertise seems crazy,
and one might think that the developer response is an overreaction—but
it's seen as confirmation of the direction Microsoft already appears to
be heading down: moving HTML5 to the foreground, in spite of its
inferiority to other technology. The Windows 8 comment made by
Larson-Green was shocking, yes, but seemed to be confirmation of what
developers were already suspicious of. Developers aren't willing to
assume that the company is going to do right by them, because the
messaging from the company has given them every reason to believe that
the Larson-Green really meant what she said; if you want to use the new
development platform, you're going to have to use HTML5 and JavaScript.
The company has never exactly been good at picking a direction for
its development strategy and sticking with it. Too much in-fighting, too
many leaps aboard new technology bandwagons, and too much software that
fails to adopt new paradigms. But until about a year and a half ago, it
looked like things were beginning to settle down, with the combination
of .NET, Windows Presentation Foundation (WPF), and WPF's Flash-like
sibling, Silverlight. WPF and .NET provide a flexible, high-level, and
structured approach for writing GUI applications, and Silverlight is a
cut-down version of WPF that can be used as a browser plugin on both
Windows and Mac OS X.
Neither of these technologies was perfect—WPF has never been as fast
as it should have, and Silverlight is not as cross-platform as it ought
to be—but the set of products did at least represent some kind of a
coherent vision for software development. WPF and .NET for big
applications, Silverlight for portable ones.
Hopes dashed
But then Internet Explorer 9 happened. Microsoft jumped on the HTML5 bandwagon, and that's when things all got rather muddy
.
Prior to Internet Explorer 9, Silverlight had been the company's
preferred solution for developing rich cross-platform applications. The
lack of broad platform support meant that Silverlight could never quite
rival Flash on this front, but it was there, and it worked well on those
platforms that were
supported. With Internet Explorer 9,
however, Silverlight took a back seat. HTML5 became the way forward. If
Silverlight were to be used at all, it should only be used for those
things that HTML5 couldn't do very well, such as streaming video. For
anything else, the message was that developers should use HTML5.
Microsoft did have a point. If you're really wanting to target people
on any platform, HTML5 is the way to go. For Web-facing applications
that don't have any special needs such as DRM video, HTML5 is the
long-term bet. But third-party developers were deeply unhappy when this
repositioning was made explicit, and they had a point too. For a
developer writing an internal-use line-of-business application, one for
whom depending on a browser plug-in is not a problem, Silverlight had,
and still has, a lot of points in its favor.
HTML5 remains true to its text mark-up heritage; its structure and
semantics are still geared towards creating structured text documents,
not application user interfaces. Where Silverlight programs can deal
with buttons, icons, list boxes, tree views, and other interface
controls, HTML5 applications must generally deal with boxes of text,
with no higher-level concepts to work with. There are JavaScript libraries
that attempt to bridge this gap
,
but they lack the capabilities and control that Silverlight offers.
Ultimately, if one were to design a framework for creating user
interfaces, it would look a lot more like Silverlight than it does
HTML5.
Another weak area for HTML5 is tooling. Design and development tools
that work with HTML5 are not as developed or as robust as those that
exist for Silverlight, making HTML5 development more complicated,
especially as application complexity increases. Thus far, though the
company has continued to promote it as the first choice for
browser-deployed applications, Microsoft has done little to address
these issues with HTML5.
Redmond has, however, done something with HTML5 that it has never
bothered to do for either Silverlight or WPF, and that's make it fast
.
Internet Explorer 9 builds on top of an API called Direct2D. This is a
2D graphics library that uses Direct3D 10 for acceleration. The Direct2D
API is even lower-level than HTML5; while HTML5 pages are basically
built up of text boxes, these boxes do have some "intelligence" of their
own; they have layout rules, borders, backgrounds, and more. Direct2D
in contrast can handle little more than curved lines (or groups of
curved lines), with every aspect of layout left to the developer. And
unlike the inefficient way in which WPF uses Direct3D
, Internet Explorer 9 and Direct2D have been optimized and are far more efficient.
With Internet Explorer 9, Microsoft was therefore telling its
developer community two things: HTML5 is the preferred technology,
regardless of its suitability or desirability, and if you want high
performance you can either use the low-level Direct2D from C++
directly—unpalatable—or the mid-level HTML5. If you want a high-level,
purpose-built API with high performance (a version of WPF built on top
of Direct2D, for example) it isn't going to happen
.
The Windows 8 comment thus seems to be the culmination of Microsoft's
policy of the last few years. HTML5 was already the blessed development
platform in spite of its many failings, and with Windows 8 developers
were going to be faced with little alternative but to embrace these
inadequate technologies if they wanted to produce new-style immersive
applications. As crazy and destructive as this policy appears, it has
the feeling of consistency. Internet Explorer 9 and the downplaying of
Silverlight were the first step down this path; immersive applications
requiring use of HTML5 are the next.
相关推荐
资源内项目源码是来自个人的毕业设计,代码都测试ok,包含源码、数据集、可视化页面和部署说明,可产生核心指标曲线图、混淆矩阵、F1分数曲线、精确率-召回率曲线、验证集预测结果、标签分布图。都是运行成功后才上传资源,毕设答辩评审绝对信服的保底85分以上,放心下载使用,拿来就能用。包含源码、数据集、可视化页面和部署说明一站式服务,拿来就能用的绝对好资源!!! 项目备注 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、大作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.txt文件,仅供学习参考, 切勿用于商业用途。
《基于YOLOv8的智慧社区独居老人生命体征监测系统》(包含源码、可视化界面、完整数据集、部署教程)简单部署即可运行。功能完善、操作简单,适合毕设或课程设计
Android Studio Meerkat 2024.3.1 Patch 1(android-studio-2024.3.1.14-mac.dmg)适用于macOS Intel系统,文件使用360压缩软件分割成两个压缩包,必须一起下载使用: part1: https://download.csdn.net/download/weixin_43800734/90557060 part2: https://download.csdn.net/download/weixin_43800734/90557056
侧轴承杯加工工艺编制及夹具设计.zip
NASA数据集锂电池容量特征提取(Matlab完整源码和数据) 作者介绍:机器学习之心,博客专家认证,机器学习领域创作者,2023博客之星TOP50,主做机器学习和深度学习时序、回归、分类、聚类和降维等程序设计和案例分析,文章底部有博主联系方式。从事Matlab、Python算法仿真工作8年,更多仿真源码、数据集定制私信。
板料折弯机液压系统设计.zip
C6150车床的设计.zip
机器学习之KNN实现手写数字
python爬虫;智能切换策略,反爬检测机制
mpls-vpn-optionA-all
56tgyhujikolp[
GB 6442-86企业职工伤亡事故调查分析规则.pdf
汽车液压式主动悬架系统的设计().zip
2000-2024年各省专利侵权案件结案数数据 1、时间:2000-2024年 2、来源:国家知识产权J 3、指标:专利侵权案件结案数 4、范围:31省 5、用途:可用于衡量知识产权保护水平
资源内项目源码是来自个人的毕业设计,代码都测试ok,包含源码、数据集、可视化页面和部署说明,可产生核心指标曲线图、混淆矩阵、F1分数曲线、精确率-召回率曲线、验证集预测结果、标签分布图。都是运行成功后才上传资源,毕设答辩评审绝对信服的保底85分以上,放心下载使用,拿来就能用。包含源码、数据集、可视化页面和部署说明一站式服务,拿来就能用的绝对好资源!!! 项目备注 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、大作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.txt文件,仅供学习参考, 切勿用于商业用途。
内容概要:本文档详细复现了金融数学课程作业,涵盖欧式看涨期权定价和投资组合优化两大部分。对于欧式看涨期权定价,分别采用Black-Scholes模型和蒙特卡洛方法进行了计算,并对彩虹期权进行了基于最大值的看涨期权定价。投资组合优化部分则探讨了最小方差组合、给定收益的最小方差组合、最大效用组合以及给定风险的最大收益组合四种情形,还对比了拉格朗日乘数法和二次规划求解器两种方法。文中不仅提供了详细的MATLAB代码,还有详尽的中文解释,确保每一步骤清晰明了。 适合人群:金融工程专业学生、量化分析师、金融数学爱好者。 使用场景及目标:①帮助学生理解和掌握金融衍生品定价的基本原理和方法;②为从事量化分析的专业人士提供实用工具和技术支持;③作为教学材料辅助高校教师讲授相关内容。 其他说明:文档还包括了完整的论文结构建议,从封面页到结论,再到附录,涵盖了所有必要元素,确保提交的作业符合学术规范。此外,还特别强调了数据预处理步骤,确保代码可以顺利运行。
脉冲电解射流加工喷射装置设计(1)
ThinkPad S1 (2nd Generation) 和ThinkPad Yoga 260 用户指南V3.0,包含如何拆机更换硬件
charles描述文件下载
python代码-使用人类对话数据集lora微调deepseek