Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

3 lines of code that may need to change is much more complex than a macro that signals intent.


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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: