> The real fix for this problem is the modules system, where the compiled module can expose an object's size without exposing its contents.
Exposing the object size is already too much, it's part of the ABI. The truth is : we can't have our cake (maximum perf due to stack allocation) and eat it too (hide all implementation details)