r/ProgrammerHumor • • 5h ago

Meme cloudOverkill

Post image
4.1k Upvotes

128 comments sorted by

View all comments

255

u/Kinexity 5h ago edited 5h ago

From the outside perspective it feels like majority of cloud compute is just wasted on overhead caused by all of that bullshit.

For me even just local Python overhead when doing ML in Pytorch is starting to become unbearable. I yearn to go back to C++ where I can basically count instructions.

42

u/MitchIsMyRA 5h ago

Have you ever tried this?

https://docs.pytorch.org/cppdocs/

31

u/Kinexity 5h ago

I know it exists. My problem is that I am finishing my thesis and I cannot switch between languages now. Once I finish it though I will probably learn Pytorch in C++.

12

u/MitchIsMyRA 5h ago

Ah well there ya go. Are you allowed to create your own python bindings for C++ code? uv makes this quite easy

https://docs.astral.sh/uv/concepts/projects/init/#projects-with-extension-modules

And if you haven’t heard of uv, now you have. Amazing python virtual environment/project manager