Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lenz2020
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
lenz2020
2y ago
Not exactly. Google is using wasm where it makes sense to do so. Google is heavily invested in TypeScript and JavaScript. Closure Compiler is far from half dead but the need to support current language features is mitigated by translating
2.
▲
by
lenz2020
6y ago
Actually no. You rarely need to annotate anything. They type checking is independent from the optimization of you turn off the type based optimizations. You still get good results. This doesn't get you away from the requirements fo
3.
▲
by
lenz2020
6y ago
In strict mode you can because you can statically determine if eval is present. If it isn't, it is trivial to determine if it is written to after initialization. Otherwise it has the same issues as const (is there a temporal dead zone