← Back to context

Comment by t43562

1 day ago

Cross compiling go is easy. Static binaries work everywhere. The cryptographic library is the foundation of various CAs like letsencrypt and is excellent.

The green threads are very interesting since you can create 1000s of them at a low cost and that makes different designs possible.

I think this complaining about defer is a bit trivial. The actual major problem for me is the way imports work. The fact that it knows about github and the way that it's difficult to replace a dependency there with some other one including a local one. The forced layout of files, cmd directories etc etc.

I can live with it all but modules are the things which I have wasted the most time and struggled the most.

> The fact that it knows about github and the way that it's difficult to replace a dependency there with some other one including a local one.

Use `replace` in `go.mod`, or `go.work` if you're hacking on it locally?

> The forced layout of files, cmd directories etc etc.

You don't need to have a cmd directory. I see it a lot in Go projects but I'm not sure why.