News for hackers. Stuff that matters.
Re:Deno Is a Browser for Code by maxmcd on Thursday May 28, 2020 @10:28PM (#23345696)
I've been skimming the arguments so I might have missed something big, but isn't the key distinction that Deno can take anything from a URL? Go's "go get" is backed by version control systems, but you could freely point your deno at "http://dangerous.com/evil.ts". I thought the concern was about the potentially problematic flexibility.
Re:Deno Is a Browser for Code by 14u2c on Friday May 29, 2020 @01:05AM (#23346439)
Isn't that the advantage though, that you can do exactly that without concern.

> deno run --allow-write=~/only-evil-here http://dangerous.com/evil.ts

Re:Deno Is a Browser for Code by earthboundkid on Friday May 29, 2020 @12:05AM (#23346165)
Go has a system for telling where to fetch based on the URL response. You can basically send anything if you are evil, but Go modules keep a hash of seen content (what Deno calls a lockfile), so you’d notice that it changed.