because of the way it’s designed, as described in the talk. changing that would break way too much stuff, like libs which rely on linking to C in order to function.
one cool thing about Deno is that it seems like one could make a “codepen”-style JS code pasting/collaboration service really quickly, and not have to worry about sandboxing the code execution like you normally have to do. the fact that its package management works by using URLs makes it even easier. just import React from "https://unkpkg.com/react-0.0.1/react.js" and you’re done. no messing around with package managers, no worrying whether it’s down, no worrying about depending on “yet another package ecosystem” if you’re coming from other places like Python or Ruby.
And introduced in the talk by Ryan Dahl (Node’s creator) where he talks about the mistakes he made in Node
I’m sorry I don’t understand what this is. What would I do with this? Is this similar to like Electron?
My understanding is that it is an alternative to Node written by Node’s original creator.
He tries to target a certain slice of nodejs usage: secure execution of short living scripts like command line tools, scientific calculation programs.
The only thing I have found interesting is that using sandboxes to achieve that. However, why can’t NodeJS do that, too?
because of the way it’s designed, as described in the talk. changing that would break way too much stuff, like libs which rely on linking to C in order to function.
one cool thing about Deno is that it seems like one could make a “codepen”-style JS code pasting/collaboration service really quickly, and not have to worry about sandboxing the code execution like you normally have to do. the fact that its package management works by using URLs makes it even easier. just
import React from "https://unkpkg.com/react-0.0.1/react.js"and you’re done. no messing around with package managers, no worrying whether it’s down, no worrying about depending on “yet another package ecosystem” if you’re coming from other places like Python or Ruby.“secure” “segfaulty”
Can it be both? ;)