logoalt Hacker News

slowin • yesterday at 9:18 PM • 1 reply • view on HN

You can get a binary compiled by the author or a trusted source and none of the dependencies can change out from under you. This isn't possible with an interpreted language where the dependencies are resolved (often from dubious places like npm) at install and update time.


Replies

chatmasta • today at 2:22 AM

You can write a CLI in typescript and bundle it into a a single JS file. In fact (without looking) I’m sure that’s what Cloudflare is doing here because it’s standard practice.