Hacker News new | ask | show | jobs
by chikere232 518 days ago
I know it's just an example, but if you're on linux there's signalfd() which makes signals into IO so you can handle it in an epoll()-loop or whatever way you like doing IO

We can't remove the old way of course, as that would break things, but that doesn't stop improvements

1 comments

Sometimes removing the old way is the improvement though. E.g. adding an alternative to symlinks doesn't help if symlinks are still allowed.
Why?

That way you break a lot of things.

You have to start somewhere. Strongly specialized programs that f.ex. never access disk and only access network are a good candidate to be tested in either restricted containers or brand new OS-es that carry legacy baggage.

It's doable, but nobody wants to put in the money, time and energy into pioneering it.