HNHacker News
TopNewBestAskShowJobs

Brass_Hopper

3 karma · joined September 17, 2025

submissionscomments
Brass_Hopper··on Anthropic acquires Bun
It's interesting to see the difference in how both treat the module. It feels similar to a realm which makes me lean by default to not trusting it for untrusted code execution.

It looks like Bun also supports Shadow Realms which from my understanding was more intended for sandboxing (although I have no idea how resources are shared between a host environment and Shadow Realms, and how that might potentially differ from the node VM module).

Brass_Hopper··on Anthropic acquires Bun
When you say runtime sandboxing, are you referring to JavaScript agents? I haven't worked all that much with JavaScript execution environments outside of the browser so I'm not sure about what sandboxing mechanics are available.