Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Leszek
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Leszek
1mo ago
Maybe it was actually one of these? https://en.wikipedia.org/wiki/Stone_Soup
2.
▲
by
Leszek
1mo ago
Whereas killing someone for stealing your phone will come with no trauma whatsoever?
3.
▲
by
Leszek
5mo ago
It means they'd avoid an article on the benefits of smoking if it's posted by a company selling cigarettes.
4.
▲
by
Leszek
5mo ago
The dummies phrasing is my own, and I stand by it - I simply find the CFG way of thinking much easier to reason about than the SoN way, and I find myself falling back into it no matter how hard I try to follow what I totally (abstractly) ap
5.
▲
by
Leszek
5mo ago
(disclaimer: current V8 team member replying to senior ex-V8 team member) I'd say there were a lot more things problematic in practice with SoN than not relaxing effect edges enough - I'd argue that the bigger problem was that a s
6.
▲
by
Leszek
6mo ago
Be careful to check whether you're in a glass house before throwing stones - "layoff" used to mean a temporary release from employment for seasonal labour before it meant a permanent one ( https://www.etymonline.com
7.
▲
by
Leszek
7mo ago
You can't currently "compile JS to Wasm", you can compile a JS engine (likely written in C++) to Wasm and run JS inside that (almost certainly at lower speed). So instead of "no more V8", it's closer to "s
8.
▲
by
Leszek
7mo ago
The complex parts of JavaScript are the semantics, not the syntax. You could reasonably easily spec a bytecode for JS to get rid of the syntax part, but nothing would change in the complexity (almost all modern engines parse to bytecode as
9.
▲
by
Leszek
7mo ago
I guess in this system, you'd also type lowercase letters by holding shift?
10.
▲
by
Leszek
10mo ago
rr ( https://rr-project.org/ ) and memory watchpoints are a godsend when it comes to analysing heap corruptions.
11.
▲
by
Leszek
10mo ago
The signed length fields pre-date the sandbox, and at that point being able to corrupt the string length meant you already had an OOB write primitive and didn't need to get one via strings. The sandbox is the new weird thing, where now
12.
▲
by
Leszek
1y ago
I said it "protects" against bugs, not that it "removes" them. The Truffle architecture removes mismatches between JIT and interpreted code (when it doesn't have bugs itself, which is not guaranteed either), but it
13.
▲
by
Leszek
1y ago
The V8 sandbox doesn't just protect against JIT issues, it also protects against logical issues in the runtime and object model.
14.
▲
by
Leszek
1y ago
Ok, person with anonymous account name.
15.
▲
by
Leszek
1y ago
It certainly disproves that it's a pattern without exceptions, and therefore invalidates or at least questions the idea that every instance of up and down (like which way up north is) has to be mapped to good and bad.
16.
▲
by
Leszek
1y ago
More likely in feet than metres.
17.
▲
by
Leszek
1y ago
Are you down for looking for counterexamples? Do you want to get to the bottom of why people cherry pick examples for their argument? Is this what you want to base your argument on, or should it be grounded in a more complete lingui
18.
▲
by
Leszek
1y ago
The Dual-Kawase blur sounds like a texture-sampling-efficient variant of building a Gaussian pyramid ( https://en.wikipedia.org/wiki/Pyramid_(image_processing) )?
19.
▲
by
Leszek
1y ago
"The data presented in this article is sourced from the United Nations International Migration Stock for the year 2020."
20.
▲
by
Leszek
1y ago
It's not - the general path is a bailout for the fast path which continues where the fast path stopped, so you don't have to check the whole object for fastness (and you get the fast path up until the bailout)
21.
▲
by
Leszek
1y ago
What can't though?
22.
▲
by
Leszek
1y ago
Fast code isn't a quantum effect, it doesn't wait for a measurement to wave collapse into being fast. The _assertion_ that a certain piece of code is fast probably requires a measurement (maybe you can get away with reasoning, e.g
23.
▲
by
Leszek
1y ago
I once destroyed an entire small enemy camp in a 5e campaign by causing an avalanche using Create Water -- arguing that the 10 gallons of water I create would be a whole lot of snow when taking into account the relative density of water and
24.
▲
by
Leszek
1y ago
And yet here you are saying it.
25.
▲
by
Leszek
1y ago
Something I find fascinating is that we know that P != EXPTIME, and that P <= NP <= EXPTIME, but have managed to prove neither P != NP nor NP != EXPTIME. NP has to be somewhere between them but we have no idea where.
26.
▲
by
Leszek
1y ago
The eval thing is listed as a potential performance cost, but it's actually super important for performance, because it allows the parser to statically know that sloppy eval is never called inside a function, and that variables can the
27.
▲
by
Leszek
1y ago
FWIW, I think the parent meant "function scoping vs lexical scoping" rather than "block scoping vs lexical scoping". You're correct that function scoping is technically a form of lexical scoping (where the scope is
28.
▲
Land ahoy: leaving the Sea of Nodes
(v8.dev)
20 points
by
Leszek
1y ago
|
4 comments
29.
▲
by
Leszek
2y ago
You're missing the "four" part of "four 2s"
30.
▲
by
Leszek
2y ago
Or JIT compilers, where compilation time is an important factor -- e.g. V8 uses variations on linear scan.
More ›