Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Off topic, but watching the output of this thing renews my disappointment that so many programming languages/frameworks fail to provide signal sender information to signal handlers. It’s there! Crusty ABI and historical reasons are, as far as I can tell, the only reason why languages like Python (and many others) don’t surface sigaction to handlers without unnecessary acrobatics.

Sigh. We shouldn’t have modeled signal handling in a cross-platform, lowest-common-denominator way in HLLs. Signals have way less in common across OSes than files/sockets and the like.

Anyway, rant over. Not much to be done about it now.



I think Rust deals with lowest-common-denominator APIs quite well, by introducing OS specific extensions (like std::os::unix).

There's no reason Python and Ruby can't provide the same.




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

Search: