3 ms·
I maintain LuaJIT syscall bindings https://github.com/justincormack/ljsyscall https://github.com/justincormack/ljsyscall - they cover quite a lot, namespaces, n
by justincormack 11y ago
I maintain LuaJIT syscall bindings https://github.com/justincormack/ljsyscall https://github.com/justincormack/ljsyscall - they cover quite a lot, namespaces, netlink and so on. I spent quite a bit of time making them more intuitive than the raw bindings, with consistent error handling, also namespacing constants and so on. It is definitely useful to have these types of interfaces not in C.
- kalmar 11y agoThis project looks really cool! I'm very curious to find out more about how you make sure constants are correct across platforms and architectures. I will be poking around!
- justincormack 11y agoThere are a bunch of tests but the whole Linux ABI spec is a mess.