3 ms·
> if you don't like an API, library or interface, you can just put a wrapper on top of it We can also simply get rid of all that bloat and just use the system
by matheusmoreira 4y ago
> if you don't like an API, library or interface, you can just put a wrapper on top of it
We can also simply get rid of all that bloat and just use the system calls directly.
> you are not supposed to use the raw API everywhere
Linux system calls are a stable interface and the entry points are even programming language agnostic. It's okay to use them directly.
> e.g. you if don't quickly stop doing that with the BSD sockets API, you are part of the problem
Yeah it's not a good idea on other operating systems since the system call interfaces are unstable. We have to use their C libraries on those platforms.