47
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 29 Apr 2026
47 points (96.1% liked)
Linux
13512 readers
371 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
That's a question of API, not type system. And FD types (e.g.
OwnedFd,BorrowedFd) are already in std.It's only enforced because of Rust's strict type system. Python, on the other hand, lets you do whatever you want by comparison, and complains only at runtime. I've seen far too many
**kwargsfor my liking.My example would be a thin wrapper around these, most likely. It's only an example of what I'm trying to convey, though.