Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hashseed
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
hashseed
5mo ago
DevTools uses a server side model, and only after you opt in with explicit consent.
2.
▲
by
hashseed
11mo ago
Navigate to a page, right click > inspect, open the What's New panel in DevTools.
3.
▲
by
hashseed
1y ago
https://developer.chrome.com/docs/devtools/ai-assistance
4.
▲
by
hashseed
2y ago
Hi. I'm the V8 engineer who implemented the fix and wrote the blog post. The reason the initial bug report [0] was marked as WAI but the Medium blog post got a lot more traction is very simple and much more human. When the initial issu
5.
▲
by
hashseed
3y ago
I work on Chrome DevTools. The reason is absolutely security concerns. You don't want to leak a function that can expose a list of all objects on the JS heap.
6.
▲
by
hashseed
4y ago
Chrome sets navigator.webdriver to true when controlled by automation. Until now, bots could simply use headful mode to achieve the same effect that is now made available through the new headless implementation.
7.
▲
by
hashseed
5y ago
I manage the team at Google that currently owns the Puppeteer project. The previous team that developed Puppeteer indeed moved to Microsoft and have since started Playwright. While it is true that staffing is tight (isn't it always), t
8.
▲
by
hashseed
6y ago
There is a lot of content on V8's dev blog, with different depth, all pretty well written: https://v8.dev/blog
9.
▲
by
hashseed
7y ago
Impressive numbers. Did you try to use startup snapshot in V8 to improve TTI? https://v8.dev/blog/custom-startup-snapshots
10.
▲
by
hashseed
8y ago
V8 already employs W^X, i.e. memory pages allocated for V8's heap are either writable or executable, but not both at the same time.
11.
▲
by
hashseed
8y ago
You were already able to do this by loading any other kind of cached resource.
12.
▲
by
hashseed
9y ago
In what case should this be preferred over plain old Service Workers running on the user's browser? Latter is even lower latency and for free.
13.
▲
by
hashseed
9y ago
There are some features in V8 to make loading a script even faster. I'd be glad to connect over these features on twitter (same username). I implemented them.
14.
▲
by
hashseed
9y ago
Chrome already caches compile result for previously visited pages to bypass the initial parsing/compiling.
15.
▲
by
hashseed
9y ago
Do you have any details on what could be improved wrt V8's snapshotting? We have recently extended the feature set a lot in order to be able to snapshot full Blink contexts, and there are some efforts on-going to implement that in Node
16.
▲
by
hashseed
9y ago
iirc JSC folks are blocking explicit tailcalls on TC39
17.
▲
by
hashseed
10y ago
Often enough, implementing the optimal solution is not really more time-consuming than the brute force solution. Often it's not about micro-optimizations, but a difference between O(n^3) and O(n*logn).
18.
▲
by
hashseed
10y ago
But imagine Einstein having to look up how to derive x^2. I'd say that's a pretty close equivalent to knowing tree traversal in CS. It should just come naturally.
19.
▲
by
hashseed
10y ago
Yup. To some, performance is just an implementation detail, and they keep adding hooks like @@hasInstance.
20.
▲
by
hashseed
10y ago
Unicode properties are behind an experimental flag: --harmony-regexp-property
21.
▲
by
hashseed
11y ago
To clarify, this is not a real job title. Chrome and V8 blog posts are written by engineers who worked on the feature being blogged about, and can choose a funky title to go with the name :)
22.
▲
by
hashseed
11y ago
Implementing lookbehind by reading backwards is not more computationally expensive than reading forward. It adds some complexity to the regexp engine, yes, but that's manageable. There are some quirks vs. stepping back and reading forw
23.
▲
by
hashseed
12y ago
Not sure. If it spins up a new V8 instance every time, then no. But I don't think that happens. It probably keeps a V8 instance around, so in-memory code caching should already work. Edit: looking at the plv8 code, it doesn't seem
24.
▲
by
hashseed
12y ago
V8-based projects can benefit from this as well: http://www.hashseed.net/2015/03/improving-v8s-performance-us...