News for hackers. Stuff that matters.
Re:How Uber Uses Zig by motiejus on Monday May 23, 2022 @09:19AM (#31478648)
Author here.

Took a while to get thumbs-up to publish the talk. Happy to answer questions, if any.

Re:How Uber Uses Zig by CoastalCoder on Monday May 23, 2022 @09:36AM (#31478853)
I agree with a sibling comment: when I read "Zig" I assumed the language.

You might consider adding "toolchain" to the title.

Re:How Uber Uses Zig by motiejus on Monday May 23, 2022 @09:40AM (#31478903)
Good suggestion, though the title of my original talk (in the linked video) was even less assuming: "How Zig is used at Uber".

Will not change it now though, as this blog post is the last piece of this talk+announcement effort.

Re:How Uber Uses Zig by Ysraes on Tuesday May 24, 2022 @02:24AM (#31488656)
I'm actually somewhat glad I got "baited" into watching it. I don't think I would have been as likely to watch it had it included toolchain.
Re:How Uber Uses Zig by thebiglebrewski on Monday May 23, 2022 @03:01PM (#31483531)
Thanks for publishing this, it was an interesting look into the topic!

Can you explain at a higher level why Uber has the need to go to such a lower level with its programming? What services need the kind of speed that Go, Zig, and the like provide in particular? I guess I was kind of surprised to see a conversation about low-level compilation of programs being super related to Uber's core mission(s)?

Re:How Uber Uses Zig by motiejus on Monday May 23, 2022 @03:21PM (#31483754)
Some services span many many hosts (not sure I can say how many though). Not because they are inefficient; that's because it takes many cpus to do to support our trips/eaters/etc.

Most of the services benefit from speed/efficiency of Go: the more effective the language (runtime) is, the less we pay for hosting it, the cheaper the service to the customers.

Given that, the GC costs are still significant. Depends what you compare against.

Re:How Uber Uses Zig by thebiglebrewski on Monday May 23, 2022 @04:55PM (#31484665)
Appreciate the answer. In hindsight do you think any solutions could have been purchased that the company "rolled" itself? Was it necessary to create such a huge engineering organization and deep level of technology for what's essentially a ride hailing and food delivery company, or was it more needed to burnish the company's image to investors as a "technology company"? I don't mean to offend with this question, I'm just honestly curious.
Re:How Uber Uses Zig by r-w on Monday May 23, 2022 @08:58PM (#31486786)
Two words: vertical integration.
Re:How Uber Uses Zig by seg_lol on Monday May 23, 2022 @10:00AM (#31479151)