Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
vr
15y ago
I guess the point of posting it here is to gather folks with pitchforks and torches demanding immediate attention to the issue. For a few months V8 team has been working hard on improving the GC ( http://code.google.com/p/v8/source/browse/b
2.
▲
by
vr
15y ago
Tip: to make V8 startup and context creation significantly faster add 'snapshot=on' to your scons command line. This serializes the default heap during compilation and quickly deserializes it on startup later.
3.
▲
by
vr
15y ago
There's http://dromaeo.com/?jslib by John Resig. Chrome is pretty good at it.
4.
▲
by
vr
15y ago
In V8 Object.create(arg) is implemented roughly as var o = {}; o.__proto__ = arg. The first statement sets the default hidden class for the newly created object. Since hidden classes in V8 capture the prototype structure as well, it has to
5.
▲
by
vr
15y ago
V8 supported multiple threads since long ago using a big VM lock approach (v8::Locker). Since 3.2.4 it's possible to run independent V8 code in parallel using the new v8::Isolates API: http://code.google.com/p/v8/source/browse/trunk/includ
6.
▲
IE9 Blog: HTML5, and Real World Site Performance
(blogs.msdn.com)
4 points
by
vr
16y ago
|
0 comments
7.
▲
by
vr
16y ago
Being prepared for an interruption does not mean paying attention to your surroundings or actively seeking distraction (e.g. checking email). The problem here is that even if you've made an attempt to block everything out but have not prepa
8.
▲
by
vr
16y ago
This is not really a kernel bug. The exploit exhausts the address space of Xorg (which is already running as root) to make it possible to write to its stack using a shared memory segment. While the kernel can help prevent this kind of issue
9.
▲
Safari and Chrome Web Inspector Updates
(webkit.org)
15 points
by
vr
16y ago
|
3 comments
10.
▲
by
vr
17y ago
The reason why some frameworks roll out custom object systems is because they try to make JavaScript look like a language with classes, "this" semantics isn't what's driving them. In a language with classes developers are used to "this" bei
11.
▲
RE2: robust regexp library by Google
(google-opensource.blogspot.com)
55 points
by
vr
17y ago
|
4 comments
12.
▲
by
vr
17y ago
To get the equivalent of __proto__ that works in every engine see goog.inherits from Closure.
13.
▲
by
vr
17y ago
It seems you should use "Horse extends Animal.prototype" in your examples or just make "Horse extends Animal" compile to "Horse.prototype.__proto__ = Animal.prototype". Also a subclass constructor should call the one of the superclass. Othe
14.
▲
by
vr
17y ago
Using Python does not prevent parallel execution of tasks. It's just the build tasks graph that gets created by a single process, but then the build system can use all the available CPUs to actually execute it. See e.g. -j flag to SCons ht