DarkSharpness commented on PR #228:
URL: https://github.com/apache/tvm-ffi/pull/228#issuecomment-3493000674

   > please split the core changes `function_details` into a separate PR.
   > 
   > likely stl should go into extra. The main reason is that while stl can be 
helpful sometimes, the tradeoff is when present in cases like object, we can no 
longer to near zero cost access in static languages like rust via directly ptr 
and access (otherwise it have to be a call to reflection getter that does 
conversion under the hood, so we should always encourage ffi types when 
possible (and document such rationales in stl.h).
   
   I agree that stl should go into extra. The main goal of this PR is to 
introduce a pybind/PyTorch-style interface that provides greater flexibility 
for user-defined conversions. In performance-critical paths, however, FFI types 
should always take priority. This change only performs a one-time 
transformation for convenience and potential backward compatibility with 
existing code.
   


-- 
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