top | item 47023619

(no title)

audunw | 14 days ago

I think another way of thinking about this interface is: it’s kind of like an abstraction over Linux system calls and ntdll. It’s naturally gonna have a kind of subset of all the useful calls, with some wrapping.

I don’t see anything wrong with this, it’s kind of how Windows forces developers to use DLL to access syscalls (the syscall numbers can change) which IMO is a good architectural decision.

discuss

order

lukaslalinsky|13 days ago

Except it's not. I've implemented it, over its multiple iterations, so I'm familiar with it. It's an interface to satisfy the needs of the Zig compiler. It's heavily lacking for use in server applications.

jeltz|11 days ago

Except it is not. The Zig compiler does not need this. I am not sure if this API will work out but it is not for the Zig compiler.