tqchen commented on issue #265:
URL: https://github.com/apache/tvm-ffi/issues/265#issuecomment-3573656587

   I agree there can indeed be a tradeoff, in our particular case, i think the 
`ffi::Function` simplicity is an important constraint (because we need ABI to 
be simple and consistent to compiled and runtime use), and likely asking for 
all overloaded variant to appear in same place of registration is not too bad 
of an ask(to avoid intended behavior).
   
   It could still be possible to have a dynamic dispatcher where you need to 
have single dec site and register overloading for that, however, i am not sure 
if we want to immediately go that route. Perhaps starting with constraint 
version would be ok.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to