News for hackers. Stuff that matters.
Re:Deno 1.0 by littlestymaar on Wednesday May 13, 2020 @09:04PM (#23173929)
True, but that's what people using Go have been doing for years without complaining much, so I guess it works fine for most workload.

And before npm fixed things after the left-pad incident, the npm builds where not reproducible either (as demonstrated by the said left-pad incident).

Re:Deno 1.0 by qudat on Wednesday May 13, 2020 @11:04PM (#23174817)
> True, but that's what people using Go have been doing for years without complaining much, so I guess it works fine for most workload.

I hate to break it to you but dependency management has been a massive issue in golang until the devs formally adopted go mod.

Only Google seemed okay with checking in their dependencies to version control. Everyone else was doing crazy hacks like https://labix.org/gopkg.in

Re:Deno 1.0 by z3t4 on Thursday May 14, 2020 @03:20PM (#23184103)
Checking in dependencies to version control is the sane option. Then you can more easily see what's updated and track regressions. Some people like to refactor their code any time there is a syntax sugar added to the language - often adding a few bugs while doing it, which is a PITA, but version control is still better then no version control.

You will ask, what about adding the OS to your SCM too, yeh why not have the full software stack. But you can generally draw a line between strong abstraction layers: Hardware | Kernel | OS | runtime | your app. Some modules do have strong abstraction layers, but others are just pure functions which you could just as well copy into your own repo.

Re:Deno 1.0 by Rapzid on Thursday May 14, 2020 @12:11AM (#23175185)
It created a hugely fractured open source ecosystem as well.
Re:Deno 1.0 by dgellow on Thursday May 14, 2020 @02:32AM (#23176119)
The vendoring has never been the issue though.
Re:Deno 1.0 by littlestymaar on Thursday May 14, 2020 @03:32AM (#23176541)
I have only used Go once at work, and I actually dislike most of it (and dependency management was one of the annoying things with Go), nonetheless it is has never been a show stopper and there have been thousands of developers using it when vendoring was the only option.
Re:Deno 1.0 by Bahamut on Wednesday May 13, 2020 @09:34PM (#23174165)
Dependency management is one of the biggest complaints I have seen around Go - I don't think this is accurate.
Re:Deno 1.0 by littlestymaar on Wednesday May 13, 2020 @09:40PM (#23174211)
I don't like it either, but it still works well enough for many people.
Re:Deno 1.0 by alienspaces on Thursday May 14, 2020 @04:47AM (#23177068)
Go dependency management is quite good now with "go mod", plus your dependency tree isn't going to look anything like your typical JavaScript dependencies, otherwise you're doing it wrong..
Re:Deno 1.0 by rplnt on Thursday May 14, 2020 @07:16AM (#23178102)
> that's what people using Go have been doing for years without complaining

I haven't seen anyone commit vendor and not complain about it. But now you finally don't have to commit vendor for reproducible builds. All you need is a module proxy. The "all you need" is not really meant seriously of course.

And I personally prefer to not commit vendor and complain about it.

Re:Deno 1.0 by christophilus on Thursday May 14, 2020 @04:01AM (#23176736)
Go compiles to a static binary. It’s not downloading and running source on your production servers. Isn’t that the concern here?
Re:Deno 1.0 by thayne on Wednesday May 13, 2020 @09:16PM (#23174034)
That is one of the things I hate about go. Right up there with lack of generics and boilerplate error handling.
Re:Deno 1.0 by pawalt on Wednesday May 13, 2020 @10:35PM (#23174617)
This hasn't been a thing in Go for a long time. Go dep and now go modules fix this.