Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ecma_horse
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ecma_horse
9y ago
The problem here is that the file is being scanned without the user even attempting to run it. A similar vector would be file previews (thumbnails) or indexing. If the user is about to execute a malicious file anyway, then scanning it befor
2.
▲
by
ecma_horse
9y ago
You don't. Assume you don't get it. Right now, chances are you don't get it anyway.
3.
▲
by
ecma_horse
9y ago
You absolutely should have knowledge of your target platform and whether it does TCO (and whether it kicks in for your code). Otherwise, you may decide to just use recursion everywhere and then your stack overflows when your N is bigger tha