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

>"zig has native support for arbitrary sized integers."

I apologize if this is a naive question. Might you or someone else elaborate on where arbitrary sized integers are used or necessary in kernel programming? Don't they all ultimately need to get padded out for the CPU registers to work with them anyway?



Packed binary structures. Common in device register space (the author alludes to PCI driver(s)).




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

Search: