News for hackers. Stuff that matters.
Re:To learn a new language, read its standard library by rowanG077 on Sunday October 24, 2021 @08:26PM (#28983271)
What is novel about Go? It just seems like C repacked with a garbage collector and basic concurrent programming support to me. Which both weren't novel even when Go was designed.
Re:To learn a new language, read its standard library by DangitBobby on Sunday October 24, 2021 @08:35PM (#28983320)
It's just a little bit more work to write a non-trivial program in Go than in a scripting language such as Python, so if you need/want the good tooling and you need/want the significant speed improvement, it could be a good choice.
Re:To learn a new language, read its standard library by __turbobrew__ on Sunday October 24, 2021 @09:31PM (#28983617)
Go doesn’t have the libraries of python however. In certain computing domains you would first have to spend 10 years rewriting the python frameworks in golang before you could even be on parity with python.

I am most familiar with scientific computing and GIS applications — python is miles ahead of golang in ecosystem support in those domains.

Re:To learn a new language, read its standard library by remexre on Sunday October 24, 2021 @09:38PM (#28983655)
For scripting and "just throwing something together for internal use," Python is a pretty traditional choice, but I think Go is able to outclass it for maintainability -- static typing and somewhat better package management are a big help, and Go has a comparable ecosystem.
Re:To learn a new language, read its standard library by marsdepinski on Sunday October 24, 2021 @10:42PM (#28984003)
We'll see in another ten years
Re:To learn a new language, read its standard library by kbenson on Sunday October 24, 2021 @10:04PM (#28983795)
If that was a useful argument for the future we'd all still be using Perl.

I mean, I still write a lot of Perl, but everyone else would be too.

Re:To learn a new language, read its standard library by Zababa on Monday October 25, 2021 @09:34AM (#28987589)
And if this wasn't a useful argument many more people would use OCaml, Crystal, D, etc ; and every new language wouldn't be met with "I like it but it doesn't have the libraries I need so I'll keep writing Java".
Re:To learn a new language, read its standard library by copperx on Monday October 25, 2021 @02:50AM (#28985077)
Naive question, can't you just call Python code from Go? I don't see the problem besides that performance of the Python libs wouldn't be as good as if they were written in Go.
Re:To learn a new language, read its standard library by jiggunjer on Sunday October 24, 2021 @10:50PM (#28984046)
Julia makes the same claims
Re:To learn a new language, read its standard library by Lutger on Monday October 25, 2021 @03:42AM (#28985339)
Go doesn't have any substantial innovations in the set of language features, or maybe none at all. I believe it is instead the whole of a sober and efficient toolchain that effects tedious but simple to understand and work with code, which gave it such a great appeal.

It's like a modernized C with a good implementation and out-of-the-box no-nonsense tooling, and the tricky bits left out. Nothing really new to see, but there was nothing really like it when it took off. Very utilitarian. Rust, Java, C#, C++ - those are all very 'complex' or 'bloated' in many different ways to an avid Go programmer.

I'm not promoting Go (I personally don't like it), I'm just trying to understand it's appeal and popularity and what is different about it. Quality and completeness of implementation, tooling, etc. by having a big company behind it also helps of lot of course - but it isn't sufficient.