The return of syslets
Posted May 31, 2007 22:24 UTC (Thu) by
vmole (guest, #111)
In reply to:
The return of syslets by RobSeace
Parent article:
The return of syslets
I honestly don't remember what the alternative ABI solution was; I *think* it was better than "just recompile everything", but I don't have a reference to it now, and I'm not willing to re-read all of comp.std.c from that era, so maybe not. My main gripe is that the solution only broke *correct code*. Also, IMO, "long long" is ugly; it's the only core type that is two words.
Anyway, new code shouldn't use it. If you need an integer of a certain size, use the intN_t,_leastN_t, or int_fastN_t typedefs in stdint.h, so that your code has a chance of working on past and future platforms, and doesn't break when someone flips on the ILP16 compiler switch.
I think that it's generally agreed socklen_t was misguided, causing more problems than it solved, but we're stuck with it now.
(
Log in to post comments)