|
|
Subscribe / Log in / New account

Interesting problem

Interesting problem

Posted Nov 9, 2024 13:08 UTC (Sat) by jd (guest, #26381)
Parent article: The trouble with struct sockaddr's fake flexible array

The non-existent uptake of the Naval Research Lab's library for dealing with struct sockaddr (IIRC, it provided a portable replacement structure and hid all the fine details) suggests that, at least in the mid 90s, there wasn't much interest in reliable memory handling.

It would have required a fair bit of work for legacy code, yes, but you might have expected new code to use it as IPv6 was quite difficult to handle.

This suggests that there's a degree of conservatism in programming, a preference for The Old Ways. This is going to complicate efforts to do anything new that is visible.


to post comments

Interesting problem

Posted Nov 17, 2024 19:24 UTC (Sun) by skissane (subscriber, #38675) [Link]

> the Naval Research Lab's library for dealing with struct sockaddr

Is that available somewhere still? Would be an interesting bit of history to look at.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds