Re: Pass by Reference
- Posted by jaygade Sep 12, 2009
- 2293 views
mattlewis said...
True. That's another area that has to be thought out before it could happen, and just for reasons like that.
Matt
Fair point, but couldn't it just be limited to top-level variables that never go out of scope?
I guess I don't understand enough either about the difference between how the interpreter handles variables and how translated code handles variables.
The action of taking a var_id of something could even be used to make the variable permanent in scope, marking it as such and moving it to the heap if necessary?