News for hackers. Stuff that matters.
Re:Generics can make your Go code slower by socialdemocrat on Wednesday March 30, 2022 @05:49PM (#30861243)
I would say Go is a systems programming language. A systems programming language is for creating services used by actual end user applications. That is pretty much what Go is being used for. Who is writing editors or drawing applications in Go? Nobody.

Go does contain many of the things of interest to systems programmers such as pointers and the ability to specify memory layout of data structures. You can make your own secondary allocators. In short it gives you far more fine grained control over how memory is used than something like Java or Python.

https://erik-engheim.medium.com/is-go-a-systems-programming-...

Re:Generics can make your Go code slower by 3a2d29 on Wednesday March 30, 2022 @08:04PM (#30862328)
I'm not saying this is wrong, because I think what "systems programming" is subjective.

But wouldn't this classify Java as a systems language? Java is used to build DBs and I believe AWS's infrastructure is mostly java. Plus, Java definitely has pointers.

Re:Generics can make your Go code slower by pjmlp on Thursday March 31, 2022 @04:14AM (#30864962)
Kubernetes was originally written in Java, it was ported to Go due to some new team members being Go advocates.