lupyuen commented on PR #2487:
URL: https://github.com/apache/nuttx-apps/pull/2487#issuecomment-2580547312

   > What is your opinion on the idea of restarting the development of the 
NuttX API in the 
[rustix](https://github.com/bytecodealliance/rustix/tree/nuttx) crate?
   
   @lvanasse rustix is kinda heavy I think? It does Managed File Descriptors 
that will auto-close when they go out of scope. There might be a lot of 
dependencies inside?
   
   I wrote about it here: 
https://lupyuen.github.io/articles/rust6#handle-errors-safely
   > _Can we auto-close the File Descriptor when it goes out of scope?_
   > Probably, if we do [__Managed File 
Descriptors__](https://docs.rs/rustix/latest/rustix/fd/struct.OwnedFd.html). 
But that's way beyond the size, scope and scale of GSoC.


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to