3 ms·
I think most of the time you're right, but in particular in game programming you know the optimizations you're going to need since the patterns have been pretty
by lubesGordi 7y ago
I think most of the time you're right, but in particular in game programming you know the optimizations you're going to need since the patterns have been pretty well established by now. And those patterns and optimizations are pretty low level which requires you to really understand how things are laid out in memory and rust might not give you great insight into how it lays things out (or it's not as well known or talked about...).
- YatoRust 7y agoYou can lay out your types exactly how you want in Rust, just by using the `#[repr(C)]` or `#[repr(packed)]` attributes to guarantee an ordering of the fields. So, > rust might not give you great insight into how it lays things out Is not true, and this is one of the first things you will learn when you try any sort of FFI. So > (or it's not as well known or talked about...) Is not true.