← Back to context

Comment by skohan

5 hours ago

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

Is it? How so?

  • It doesn’t have a stable abi, how could it be easier? I would argue that the vast majority of what rust gives you comes at a direct cost of precisely the ergonomics of manual memory management. It’s a tradeoff that makes sense much of the time, but it’s still very obviously a tradeoff.