3 ms·
It's not the same because putting it in a box semantically changes the program, adds a level of indirection. It's not just telling it to go away.
by ok123456 1y ago
It's not the same because putting it in a box semantically changes the program, adds a level of indirection. It's not just telling it to go away.
- ameliaquining 1y agoThere's no avoiding that in a language that's designed to offer low-level control of runtime behavior, regardless of whether it's memory-safe or not. You have to tell the compiler something about how you want the data to be laid out in memory; otherwise it wouldn't know what code to generate. If you don't want to do that, use an interpreted language that doesn't expose those details.