| ▲ | DanielHB 3 hours ago |
| > code from Google. I spilled my coffee, I was just talking the other day to some coworkers how I don't trust google open source. Sure they open their code but they don't give a damn about contributions or making it easy for you to use the projects. I feel a lot of this sentiment extends to GCP as well. So many google projects are better than your average community one, but they never gain traction outside of google because it is just too damn hard to use them outside of google infra. The only Google project that seems to evade this rule that I know of is Go. |
|
| ▲ | humanrebar an hour ago | parent | next [-] |
| Googletest is the most widely used test library for C++. Googlemock is the only mocking library available that's reasonably feature complete. |
| |
| ▲ | bluGill 4 minutes ago | parent | next [-] | | I you are using googletest, you owe it to yourself to check out catch2 which I find much better and uses modern C++. There are a few other test frameworks in C++ that look better than google test as well, but catch2 is the one I settled on (and seems to be the best supported): feel free to check them out. I've given up on mock frameworks. They make it too easy to make an interface for everything and then test that you are calling functions with the expected parameters instead of the program works as you want. A slight change to how I call some function results in 1000 failed tests and yet I'm confident that I didn't break anything the user could notice (sometimes I'm wrong in this confidence - but none of the failing tests give me any clue that I'm wrong!) | |
| ▲ | gpderetta 7 minutes ago | parent | prev [-] | | Google test and mock are quite powerful but are a big hit at both compile time and runtime, which matters for quick edit-compile-fix loops. I still go back and forth on whether google test and mock are worth it. Google benchmark is also nice. |
|
|
| ▲ | badpun 2 hours ago | parent | prev [-] |
| Tensorflow is/was decent. It looked like they made a lot of effort for it to be accessible for outsiders. |
| |
| ▲ | th2oi34234234 2 hours ago | parent [-] | | Have you tried building the damn thing ? Nix build is still stuck in the one from 3-4 y back because bazel doesn't play well. Debian too has some issues building the thing... |
|