News for hackers. Stuff that matters.
Re:Rust Is Eating JavaScript by pjmlp on Sunday February 16, 2025 @05:48PM (#43072565)
//go:generate

Yep no magic...

Have you ever read Kubernetes source code?

Re:Rust Is Eating JavaScript by jen20 on Sunday February 16, 2025 @08:15PM (#43073756)
I have (in depth, often under the gun of a production outage).

Kubernetes is not a good example of idiomatic Go in any sense. Perhaps Spring Boot and friends are also not good examples of idiomatic Java, but they are absolutely the common case of what is found in the wild.

Re:Rust Is Eating JavaScript by pjmlp on Monday February 17, 2025 @01:05AM (#43075706)
Just like Kubernetes, and its related ecosystem at CNCF are the main raison dêtre why many of us put up with Go.
Re:Rust Is Eating JavaScript by jen20 on Tuesday February 18, 2025 @08:04AM (#43089012)
The difference is prevalence.

Kubernetes is a single (bad) Go project. Every piece of Java I ever see is AbstractFactoryProxyBean nonsense with annotations all over the show.

I don’t know of a Go project where I can’t start at main (for a given program) and work out how it works without a bunch of ecosystem context. I can’t think of a single Java program where I can.