On 13/02/2015 12:07 AM, Matt Oliveri wrote:
The only possible problem with modeling multi-arg functions as
functions taking a tuple is that the tuple might be boxed, in which
case it's not the efficient calling convention you want.

In what scenarios do you imagine this will happen without the user knowing, such that it could lead to performance problems?

This tuple-as-arguments approach is also how Virgil [1] handles multi-argument functions. Their papers might be of interest to BitC as well [2].

Sandro

[1] https://code.google.com/p/virgil/
[2] http://lambda-the-ultimate.org/node/4716

_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to