html5 – Dart脚本在浏览器中本机运行吗?

前端之家收集整理的这篇文章主要介绍了html5 – Dart脚本在浏览器中本机运行吗?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Dart语言看起来像一个非常好的技术来构建web的web应用程序。对我来说,似乎没有可用的(但?)可以运行Dart脚本本地的浏览器。虽然Dart的网站上有关于如何将这样的脚本嵌入到HTML中的描述。我明白,现在我必须“编译”Dart脚本到Javascript。但是,这种在未来的变化或语言是否被设计为翻译成其他类似于haXe的脚本标准?

解决方法

这是猜测,但我猜想Chrome将来可能支持本机。这意味着Chrome将能够胜过没有本机支持的其他浏览器。

更新:从The Official Google Code Blog有一个提示,它可能来:

The Dart VM is not currently integrated in Chrome but we plan to explore this option.

更新2:看起来我是对的!这里有一些recent news

Additionally,and perhaps most importantly,Google is releasing Dartium,a Chromium build with native Dart support.

It’s more than likely that Dartium is part of a series of steps that Google will be taking to launch native support in Chrome — greatly improving the usefulness of Dart. Bringing native support into other browsers like Firefox and IE,on the other hand,will be quite the challenge.

更新3:自从我发布了这个答案,微软已经发布TypeScript这是一种竞争的技术。我想说,微软并不打算将Dart集成到Internet Explorer中,因为他们可能更喜欢人们使用TypeScript而不是Dart。

原文链接:https://www.f2er.com/html5/169850.html

猜你在找的HTML5相关文章