News for hackers. Stuff that matters.

euroelessar

Re:Migrating Dropbox from Nginx to Envoy on Thursday July 30, 2020 @08:58PM (#24004569)
There are many reasons which lead to a cleaner codebase, some of them are: RAII, smart pointers, constant types, reusable containers, standard algorithms library, cleaner way to define interfaces, etc.

Overall our experience is that C++ code is smaller, simpler to write/read, and has a smaller chance of mistakes than equivalent logic written in C.

Of course many of this points are relevant only for relatively modern C++ (c++11/c++14 or newer), before that the cost/benefit ratio was much less clear.

Re:Migrating Dropbox from Nginx to Envoy on Thursday July 30, 2020 @08:55PM (#24004557)
We have built our own control plane in golang tightly integrated with an existing infrastructure (service discovery, secrets/certificates management, configs delivery, feature gating, and so on).