Redian新闻
>
JavaScript is Assembly Language for the Web
avatar
c*t
2
I heard similar voice long time ago. As a developer, you know it's hard to
debug JS code. If the code is compressed or obfuscated, it'll be nightmare.
avatar
N*n
3

The guy knows little how languages and compilation work. If I compile a
program written in language A into a program written in lan B then B has
to be 1) able to do more than A and 2) more granular than A.
Javascript satisfies neither. It does not do more than C#/Java/C++ nor
is more granular.

【在 s***o 的大作中提到】
: Two interesting posts and discussions from Scott Hanselman's Blog.
: http://www.hanselman.com/blog/JavaScriptIsAssemblyLanguageForTh
: http://www.hanselman.com/blog/JavaScriptIsAssemblyLanguageForTh
: What do you think?

avatar
c*d
4
这人是个牛人,你居然说人家不懂。
他这篇文章的主要意思是说html markup的可读性越来越不重要,长远来看浏览器会演
变成一个虚拟机,JavaScript则成为该平台相应的汇编语言。开发人员可以使用各种工
具和Framework开发Web程序,只要最终生成的JS运行没问题就行。
他这个提法很有道理,不过对我来说有点难以接受,因为受Web Standards理论的影响
太深。

【在 N********n 的大作中提到】
:
: The guy knows little how languages and compilation work. If I compile a
: program written in language A into a program written in lan B then B has
: to be 1) able to do more than A and 2) more granular than A.
: Javascript satisfies neither. It does not do more than C#/Java/C++ nor
: is more granular.

avatar
N*n
5

I have enough experience in the compiler domain to tell where he gets it
wrong. If language A does more than language B then it is impossible to
convert a program written in A into B. To do that the original A program
has to chop down to fit in B - in Chinese "削足适履" - a show stopper.
That's just one of the fallacies in his thinking. I can go on to other
problems such as performance, efficiency and so on but it's already bad
enough. HTML+JS is too weak to be a powerful platform for serious apps.

【在 c**d 的大作中提到】
: 这人是个牛人,你居然说人家不懂。
: 他这篇文章的主要意思是说html markup的可读性越来越不重要,长远来看浏览器会演
: 变成一个虚拟机,JavaScript则成为该平台相应的汇编语言。开发人员可以使用各种工
: 具和Framework开发Web程序,只要最终生成的JS运行没问题就行。
: 他这个提法很有道理,不过对我来说有点难以接受,因为受Web Standards理论的影响
: 太深。

avatar
a9
6
我觉得受web安全性影响,限制太多。
经常做web,做做就发现,有很多功能,限于安全原因根本实现不了。尤其是ie,条条
框框
的限制太多了。

【在 c**d 的大作中提到】
: 这人是个牛人,你居然说人家不懂。
: 他这篇文章的主要意思是说html markup的可读性越来越不重要,长远来看浏览器会演
: 变成一个虚拟机,JavaScript则成为该平台相应的汇编语言。开发人员可以使用各种工
: 具和Framework开发Web程序,只要最终生成的JS运行没问题就行。
: 他这个提法很有道理,不过对我来说有点难以接受,因为受Web Standards理论的影响
: 太深。

avatar
r*y
7
HTML+CSS+JS+browser足够完成client端的所有功能。它们不用去做server端的事。

【在 N********n 的大作中提到】
:
: I have enough experience in the compiler domain to tell where he gets it
: wrong. If language A does more than language B then it is impossible to
: convert a program written in A into B. To do that the original A program
: has to chop down to fit in B - in Chinese "削足适履" - a show stopper.
: That's just one of the fallacies in his thinking. I can go on to other
: problems such as performance, efficiency and so on but it's already bad
: enough. HTML+JS is too weak to be a powerful platform for serious apps.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。