Remix.run Logo
AbuAssar 3 days ago

on why they chose Deno instead of node:

"Other JS runtimes (node/bun) could potentially be supported in the future, the issue is that they do not provide the same security features and sandboxing that deno has. You would be running untrusted code on your machine with full system access. At this point, support for other JS runtimes is still TBD, but we are looking in to it."

codedokode 3 days ago | parent [-]

While deno has sandboxing, it also has potential access to hundreds of dangerous functions, it might be better just to write a tiny wrapper around JS engine that adds only the function to write to stdout.

AbuAssar 3 days ago | parent [-]

Deno blocks by default the access to network, storage and environment variables

codedokode 3 days ago | parent [-]

JS interpreter doesn't have the access at all - it is provided by native functions, added by the wrapper like deno, so there is nothing to block.