Hacker News new | ask | show | jobs
by anon291 100 days ago
3 lines of code that may need to change is much more complex than a macro that signals intent.
1 comments

https://docs.rs/io-uring/latest/io_uring/opcode/index.html

You can click the source code link and read the code here. Macros aren’t needed at all if every single operation isn’t a different type.