News for hackers. Stuff that matters.
Re:Using gRPC for (local) inter-process communication – F. W... by seanw444 on Wednesday November 20, 2024 @01:37PM (#42196845)
I'm using it for a small-to-medium sized project, and the generated files aren't too bad to work with at that scale. The actual generation of the files is very awful for Python specifically, though, and I've had to write a script to bandaid fix them after they're generated. An issue has been open for this for years on the protobuf compiler repo, and it's basically a "wontfix" as Google doesn't need it fixed for their internal use. Which is... fine I guess.

The Go part I'm building has been much more solid in contrast.

Re:Using gRPC for (local) inter-process communication – F. W... by lima on Wednesday November 20, 2024 @03:53PM (#42197996)
I guess you're talking about the relative vs. absolute import paths?

This solves it: https://github.com/cpcloud/protoletariat

Re:Using gRPC for (local) inter-process communication – F. W... by seanw444 on Wednesday November 20, 2024 @03:59PM (#42198057)
Yeah, my script works perfectly fine though, without pulling in another dependency. The point is that this shouldn't be necessary. It feels wrong.