I mean you can, but C/C++ is way more ergonomic for dealing with memory layouts.

Is it? How so?