Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cromwellian
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1089 ms
·
2821.
▲
by
cromwellian
15y ago
Who said anything about Java bytecode? Java bytecode != bytecode. "I don't want this at all. That's too close to ActiveX for comfort." It has nothing to do with ActiveX. It has everything to do with dead-stripping code and targeting particu
2822.
▲
by
cromwellian
15y ago
Dart doesn't require the type. var c = new Circle();
2823.
▲
by
cromwellian
15y ago
It has the same numeric semantics as Javascript. Javascript does not have a 64-bit integer.
2824.
▲
by
cromwellian
15y ago
Dart is OSS, so I geuss if it really got mass adoption, Firefox and IE could adopt it. Yes, this would lead to a single implementation, I'm not sure how I feel about this. On the one hand, it limits innovation from multiple implementations,
2825.
▲
by
cromwellian
15y ago
Default interface implementations are nothing new. In Scala for example, if you create a Map, you can get it to automatically construct a MapImpl, without having to know it. A really common case in many code bases is 1 implementing class, a
2826.
▲
by
cromwellian
15y ago
Well to be fair, the language it is replacing for the most part works, it's mostly just patching up problems: ability to optimize for startup performance, ability to program in the large, and ability to write tools easily (IDEs, etc) Most n
2827.
▲
by
cromwellian
15y ago
Browsers already have a wide performance differential. What's the ratio between V8 and IE6? Or between desktop and mobile? As long as the performance isn't pathologically bad, it won't matter. Dart apps will start up quicker and run a perce
2828.
▲
by
cromwellian
15y ago
Or maybe they've only been working on this thing for a few months and were slavishly fixing bugs right up to the announcement, and IE6 support wasn't really a priority? Except for Isolates -> WebWorkers, there's not really anything that
2829.
▲
by
cromwellian
15y ago
One has pointers and no security model and produces binary processor-dependent artifacts, the other has to support untrusted code, mobile code that runs on any device.
2830.
▲
by
cromwellian
15y ago
Go is a systems programming language, not a web programming language. It's like saying Javascript is incoherent with C.
2831.
▲
by
cromwellian
15y ago
That statement came with no benchmarks or numbers, no knowledge of the Dart VM and it's relative performance to V8, and no knowledge of the Dart to JS compiler and what kinds of optimizations it does. If you run Google's closure compiler on
2832.
▲
by
cromwellian
15y ago
This is not a product launch.
2833.
▲
by
cromwellian
15y ago
Dart doesn't really share much with GWT. The basic language semantics are dynamic, not static. The types are more or assertions and documentation that generate runtime warnings, but do not produce compile time errors that refuse to let the
2834.
▲
by
cromwellian
15y ago
Probably the biggest difference between JS and whatever revision to it you like, and Dart, is that dart is early-bound. That means, you can't change the list of methods or fields present on an object at runtime. It doesn't really make sense
2835.
▲
by
cromwellian
15y ago
The Gecko API is very basic, it just gives you access to sample buffers in Javascript, so everything must be processed in Javascript. The Web Audio API is a much more fleshed out API, built on the higher level audio APIs used in professiona
2836.
▲
by
cromwellian
15y ago
I'm a google employee. Internally, there has been much mourning and tribute to Steve. Our internal corporate portal contains a memorial on the front page. At a company-wide meeting, Larry again reflected on Steve. And I doubt Google is the
2837.
▲
by
cromwellian
15y ago
The Proxino blog/website says they parse the JS into an AST and add try/catch blocks to every method.
2838.
▲
by
cromwellian
15y ago
Considering that Chrome and Firefox have enough native Javascript stack trace support to make this trivial, I'm not sure why you would want to do this in production: 1) introduce added network latency (time to proxy / parse / instrument) +
2839.
▲
by
cromwellian
15y ago
Really? Then why did Google buy On2's video codec patents and then give them away?
2840.
▲
by
cromwellian
16y ago
I said it shorter in tweets (@cromwellian), but the Microsoft IE9 guy didn't get it, hence the rant. It turns out, many people do not understand the timing issues as you might think. The Microsoft guy seems to think you can string together
2841.
▲
by
cromwellian
17y ago
We don't have the rights to redistribute the quake2 data files, however, if you download the full game, or own it, you can modify the code to unpak and convert the commercial full-game files. The code contains the single player shareware qu
2842.
▲
by
cromwellian
17y ago
It's not that bad, since this is the web, the game runs as soon as the geometry is loaded, textures are loaded on the file like images in a web page, so you don't have to wait (a hologram texture is shown for missing textures that haven't l