Skip to main content

All Questions

21 votes
2 answers
4k views

To box or not to box? (how to determine if a value can be more efficiently passed by value or by reference)

I want to remove explicit addressing from my type system. In low level languages like C or Rust, you always have a choice whether to store some data by value or by reference. There are some advantages ...
mousetail's user avatar
  • 8,531