microsoft/BosqueLanguage

Value and reference types

Closed this issue · 0 comments

In Bosque there is no way to tell object reference identity so converting from by-ref to by-value is purely a performance issue (no impact on behavior).

I would like to have type annotation that specify by-value storage for a type. This also involves coercion operators and, potentially, the introduction of C# style reference types.