That could be a nice way. Sadly it was in a C++ code base (using tensorflow). Therefore no such nice things (would be slow too). I skill-issued myself thinking a struct would be 0 -initialized but MyStruct input;
would not while MyStruct input {};
will (that was the fix). Long story.
You are right to share this, I was about to do so yesterday but I first wanted to watch it all. So far I have only watch the first half and it is very interesting.
It is rough to follow though, sometimes I am listening to stuff while working but for this video I will need to be in the right context and focus to correctly get it.