logoalt Hacker News

wild_eggtoday at 3:52 PM1 replyview on HN

Jails are alien magic and typescript is safe and familiar


Replies

otterleytoday at 4:13 PM

What, exactly, is "safe" about TypeScript other than type safety?

TypeScript is just a language anyway. It's the runtime that needs to be contained. In that sense it's no different from any other interpreter or runtime, whether it be Go, Python, Java, or any shell.

In my view this really is best managed by the OS kernel, as the ultimate responsibility for process isolation belongs to it. Relying on userspace solutions to enforce restrictions only gets you so far.

show 1 reply