Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BrendanEich
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
146 ms
·
1381.
▲
by
BrendanEich
16y ago
See http://wiki.ecmascript.org/doku.php?id=harmony:harmony and the pages it links in the first paragraph. ES5 strict (on which Harmony is based) removes or fixes some of the cruftiness. It's not the case that the Web dooms us forever to u
1382.
▲
by
BrendanEich
16y ago
I've talked and written recently about why "just pick[ing] up Lua or Python" was not an option, but there are other strong reasons that was not in the cards. Think about what mid-1990s Lua and Python were like, how much they needed to chang
1383.
▲
by
BrendanEich
16y ago
gruseom's what-if sounds a lot like my ScreamingMonkey plan of 2007: http://brendaneich.com/2007/07/new-projects/ https://wiki.mozilla.org/Tamarin:ScreamingMonkey The idea was for Tamarin to be as fast as V8 on untyped JS, and (via the
1384.
▲
by
BrendanEich
16y ago
I realized after making this comment that some people, swannodette included, were not aware of ES5, which my pointing to Harmony overlooked. ES5 support is almost there in the latest browsers: http://kangax.github.com/es5-compat-table/ It
1385.
▲
by
BrendanEich
16y ago
Yes, SSE4 has some great -- and parallel as mentioned by both of us now -- bandwidth to throw at adds. FP still hurts if you have to cross the channel from the CPU and back again, and you do with common JS. Mobile is much worse. We disable
1386.
▲
by
BrendanEich
16y ago
I wish! Converting from double to int32 or uint32 in JS is far from a simple truncate or round, although it entails floor. From ECMA-262 5th Edition: 9.5 ToInt32: (Signed 32 Bit Integer) The abstract operation ToInt32 converts its argument
1387.
▲
by
BrendanEich
16y ago
See https://bugzilla.mozilla.org/show_bug.cgi?id=5856 , the most-dup'ed JS bug in bugzilla.mozilla.org. Or this fun blog post from 2004 that blames Apple ("Apple Flunks First Grade Math"): http://www.mikeindustries.com/blog/archive/2004/0
1388.
▲
by
BrendanEich
16y ago
I gave a concrete example in a comment on jwz's blog, referencing my blog for the 2007 @media ajax talk I gave, showing how AS3's type annotations can slow things down. If you have a loop and annotate the loop control variable as int, but i
1389.
▲
by
BrendanEich
16y ago
SpiderMonkey (TraceMonkey in August 2008) was battling SquirrelFish (SquirrelFishExtreme in fall 2008) on untyped JS (Taramin did well only if you added type annotations). V8 was "first" only behind Google's firewall, until Chrome released
1390.
▲
by
BrendanEich
16y ago
jwz is a Lisp hacker, and he pretty clearly wants bignums, not explicit types.
1391.
▲
by
BrendanEich
16y ago
No waterfall process at Netscape, or anywhere near me since the '80s. I designed and coded at the same time. That, plus lack of sleep, show in some of the gaffes. But arguably (Doug Crockford may have argued this) the whole process required
1392.
▲
by
BrendanEich
16y ago
I'll let someone else cite sophisticated and powerful JS uses. On the language evolution front: the http://wiki.ecmascript.org/doku.php?id=harmony:proposals features are very likely to be in the next edition, by end of 2013. Some are alre