This posting answered my questions: http://julialang.org/blog/2013/03/efficient-aggregates/
On Friday, January 22, 2016 at 8:03:18 PM UTC-8, [email protected] wrote: > > > I'm trying to accomplish understanding what Julia does. > > On Friday, January 22, 2016 at 7:13:58 AM UTC-8, Stefan Karpinski wrote: >> >> What are you trying to accomplish? >> >> On Thu, Jan 21, 2016 at 7:00 PM, <[email protected]> wrote: >> >>> >>> >>> On Thursday, January 21, 2016 at 8:48:19 AM UTC-8, Stefan Karpinski >>> wrote: >>>> >>>> Semantically all objects are reference types in Julia. It just happens >>>> that if they're immutable the system is free to copy them or not since >>>> there's no way to tell the difference. >>>> >>> >>> So how do you make Haskell-like immutable reference objects, i.e. trees >>> of immutable objects? >>> When can you tell if an immutable object is inlined in its container or >>> is a reference, or are you saying they are always by reference and never >>> inlined in the containing object? >>> >>> >>>> >>
