by malisper · 12y ago · 0 comments
[0] http://en.wikipedia.org/wiki/Brendan_Eich#Netscape_and_JavaS...
"When Netscape hired Brendan Eich in April 1995, he was told that he had 10 days to create and produce a working prototype of a programming language that would run in Netscape’s browser. Back then, the pace of Web innovation was furious, with Microsoft suddenly making the Internet the focus"
and
"[it] needed to be a silly little brother language."
It seems it was important to implement the language quickly rather than try and make it too good.
Google is trying with Dart, they already have a fork of Chromium with a VM for it[1], but it still needs to be compiled to JS to support other browsers, and to many developers that loses its appeal.
https://lists.webkit.org/pipermail/webkit-dev/2011-December/...
> At some point, Sweet.js ties the knot and people can write hygienic macros and extend the language.... And it’s all based on a common set of primitives and that’s the important thing. You can reason about the primitives. You can compose them. They’re compositional. They compose orthogonally. That’s the goal here. JavaScript has a lot of warts in it, but if you weed those out or deprecate them you end up with stuff that is compositional. And that’s where I think we’re heading.