Hacker News new | past | comments | ask | show | jobs | submit login

No. You would have extra problems. Not just from the maintenance issues when going along the migration path that Linus Torvalds pointed out. But also especially, for one thing, from the poor thinking generally involved, such as people thinking that the way to address a problem where it is stated that the POSIX API for I/O is reasonable is to "kill POSIX".



Apparently at some point people forgot that if you don't like an API, library or interface, you can just put a wrapper on top of it. Many libraries are just "toolkits" after all, you are not supposed to use the raw API everywhere; e.g. you if don't quickly stop doing that with the BSD sockets API, you are part of the problem.


> 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.


> Apparently at some point people forgot that if you don't like an API, library or interface, you can just put a wrapper on top of it.

If I were to survey the state of modern software development and try to characterize the skills lost compared to decades past, "not enough wrappers" would be nowhere on my list.


Ok that was a bit overstated, s/some point people forgot/some people forget/. I don't know what was the common practice a few decades ago because source code was not as visible as it is today, but in my experience what you see on Github is not what the average developer does. Github advertises itself as a social coding network; just like with other social networks, there is a selection bias regarding what is posted.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: