On Sep 10, 2008, at 6:11 PM, Charles Oliver Nutter wrote:

> I'd expect you can have a single argument return converter that  
> converts
> the value on the way out. Being able to convert only incoming  
> arguments
> and not outgoing values wouldn't be useful.

It's useful if the caller is expecting an Object (or any interface)  
and the ultimate callee is producing a reference type.  In that case,  
there is no need for any conversion work in the return, and therefore  
we can use a more efficient framless, tail-calling conversion.

Of course the general case must deal with return value conversion  
also.  (I'm also keeping an open mind about support for multiple  
value returns, eventually.  The multiple values would be reified to a  
ricochet adapter using the same ArgumentList type.)

>> I think they would be really great, but I don't know if they are  
>> doable
>> and how muich trouble they give to VM implementor.
>
> I wouldn't worry too much about the VM implementer :)

(...muffled shriek...)

-- John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to jvm-languages@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to